Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] radio-miropcm20: fix sparse NULL pointer warning

Fixes the following sparse warnings:

drivers/media/radio/radio-miropcm20.c:193:33: warning:
Using plain integer as NULL pointer

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

authored by

Wei Yongjun and committed by
Mauro Carvalho Chehab
27dcb00d 7eea35fe

+1 -1
+1 -1
drivers/media/radio/radio-miropcm20.c
··· 190 190 freql = freq & 0xff; 191 191 freqh = freq >> 8; 192 192 193 - rds_cmd(aci, RDS_RESET, 0, 0); 193 + rds_cmd(aci, RDS_RESET, NULL, 0); 194 194 return snd_aci_cmd(aci, ACI_WRITE_TUNE, freql, freqh); 195 195 } 196 196