Powered by Linux
Question about a smatch warning. — Semantic Matching Tool

Question about a smatch warning.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

When running kchecker(with spammy) on drivers/staging/media/imx/imx8mq-mipi-csi2.c

I see a smatch warning like this:

  CC [M]  drivers/staging/media/imx/imx8mq-mipi-csi2.o
  CHECK   drivers/staging/media/imx/imx8mq-mipi-csi2.c
./include/linux/err.h:41 IS_ERR_OR_NULL() warn: 'ptr' could be an error pointer

^^^ Shouldn't warnings generally link the line number in the same file(drivers/staging/media/imx/imx8mq-mipi-csi2.c) instead?

Thanks,
Harshit



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux