staging: gpib: Replace kmalloc/memset with kzalloc.
authorRohit Chavan <roheetchavan@gmail.com>
Wed, 16 Oct 2024 10:34:06 +0000 (16:04 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 14:08:38 +0000 (16:08 +0200)
commitc47adc2dfc2da2b028d60c990ea2fa656bc56c49
tree4f86d419ae5344ae2238ebee252b355259fb3e42
parent0dee28115b9a44de8507a704104414681c3dd946
staging: gpib: Replace kmalloc/memset with kzalloc.

This patch replaces kmalloc + memset with kzalloc in the GPIB driver.

Signed-off-by: Rohit Chavan <roheetchavan@gmail.com>
Reviewed-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20241016103406.1618448-1-roheetchavan@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/agilent_82350b/agilent_82350b.c
drivers/staging/gpib/cb7210/cb7210.c
drivers/staging/gpib/gpio/gpib_bitbang.c
drivers/staging/gpib/hp_82335/hp82335.c
drivers/staging/gpib/hp_82341/hp_82341.c
drivers/staging/gpib/ines/ines_gpib.c
drivers/staging/gpib/tnt4882/mite.c
drivers/staging/gpib/tnt4882/tnt4882_gpib.c