summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2025-05-09 13:24:07 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-19 15:41:04 +0200
commit3728101f56ef54425a11027a3ddc2c3941d60b71 (patch)
treec988481cf6ca695093c30f941492121ab23070e7 /include/net/aligned_data.h
parent460188bc042a3f40f72d34b9f7fc6ee66b0b757b (diff)
nvmem: zynqmp_nvmem: unbreak driver after cleanup
commit fe8abdd175d7b547ae1a612757e7902bcd62e9cf upstream. Commit 29be47fcd6a0 ("nvmem: zynqmp_nvmem: zynqmp_nvmem_probe cleanup") changed the driver to expect the device pointer to be passed as the "context", but in nvmem the context parameter comes from nvmem_config.priv which is never set - Leading to null pointer exceptions when the device is accessed. Fixes: 29be47fcd6a0 ("nvmem: zynqmp_nvmem: zynqmp_nvmem_probe cleanup") Cc: stable <stable@kernel.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Reviewed-by: Michal Simek <michal.simek@amd.com> Tested-by: Michal Simek <michal.simek@amd.com> Signed-off-by: Srinivas Kandagatla <srini@kernel.org> Link: https://lore.kernel.org/r/20250509122407.11763-3-srini@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions