summaryrefslogtreecommitdiff
path: root/rust/helpers/device.c
diff options
context:
space:
mode:
authorLucy Thrun <lucy.thrun@digital-rabbithole.de>2025-06-10 19:50:11 +0200
committerTakashi Iwai <tiwai@suse.de>2025-06-10 20:23:45 +0200
commit165bb5b154de4c39c3aa9962f0dd69836d030c19 (patch)
tree965e8160df1e6eb864a42f60a0f3a18588cb3faa /rust/helpers/device.c
parentd6e2c062e5f154d1c54022b8defb91c21648562d (diff)
ALSA: hda/ca0132: Fix using plain integer as NULL pointer in add_tuning_control
The 'add_tuning_control' function initializes two pointers using the integer 0 instead of the NULL pointer, triggering sparse warnings. Replaced both instaces of '0' with 'NULL' to resolve the type mismatch and suppress the sparse warnings. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202506100842.d8lwwdwU-lkp@intel.com/ Signed-off-by: Lucy Thrun <lucy.thrun@digital-rabbithole.de> Link: https://patch.msgid.link/20250610175012.918-2-lucy.thrun@digital-rabbithole.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'rust/helpers/device.c')
0 files changed, 0 insertions, 0 deletions