ALSA: pcm: Fix the previous conversion to kstrtoul()
authorTakashi Iwai <tiwai@suse.de>
Sun, 1 Sep 2024 13:45:12 +0000 (15:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 1 Sep 2024 13:46:11 +0000 (15:46 +0200)
commit43b42ed438bfff6bb5a51cc27a1658c03cd223fd
tree5151da30b532689502e7708abc75e3034fb2deb0
parent61bc4deff033181992408f973b48fca08757d3ff
ALSA: pcm: Fix the previous conversion to kstrtoul()

The previous replacement from simple_strtoul() to kstrtoul() forgot
that the passed pointer must be an unsigned long int pointer, while
the value used there is a sized_t pointer.  Fix it.

Fixes: 61bc4deff033 ("ALSA: pcm: replace simple_strtoul to kstrtoul")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409010425.YPS7cWeJ-lkp@intel.com/
Link: https://patch.msgid.link/20240901134524.27107-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_memory.c