diff options
| author | Dave Penkler <dpenkler@gmail.com> | 2025-02-13 11:31:12 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-10 14:44:28 +0200 |
| commit | c82ae06f49e70d1c14ee9c76c392345856d050c9 (patch) | |
| tree | 133bbef47985107ee5f876bf4687ebdadae137ab /tools | |
| parent | ff91ca1bb03cd65beff75b8f2286a670403b94a9 (diff) | |
| download | linux-c82ae06f49e70d1c14ee9c76c392345856d050c9.tar.gz linux-c82ae06f49e70d1c14ee9c76c392345856d050c9.tar.bz2 linux-c82ae06f49e70d1c14ee9c76c392345856d050c9.zip | |
staging: gpib: Fix cb7210 pcmcia Oops
[ Upstream commit c1baf6528bcfd6a86842093ff3f8ff8caf309c12 ]
The pcmcia_driver struct was still only using the old .name
initialization in the drv field. This led to a NULL pointer
deref Oops in strcmp called from pcmcia_register_driver.
Initialize the pcmcia_driver struct name field.
Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202502131453.cb6d2e4a-lkp@intel.com
Fixes: e9dc69956d4d ("staging: gpib: Add Computer Boards GPIB driver")
Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250213103112.4415-1-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
