]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
scsi: mac53c94: Fix warning comparing pointer to 0
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Wed, 10 Mar 2021 04:16:11 +0000 (12:16 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 25 Mar 2021 02:16:12 +0000 (22:16 -0400)
commitbe20b96b63197eb2e87ffa8973fadb194a16ee80
tree75e6d3358ee08deeb2a0b480d62cc03836904c61
parent973c920811bc60e1e824be0ec355a9b0a7a3d4d5
scsi: mac53c94: Fix warning comparing pointer to 0

Fix the following coccicheck warning:

./drivers/scsi/mac53c94.c:470:29-30: WARNING comparing pointer to 0.
./drivers/scsi/mac53c94.c:349:12-13: WARNING comparing pointer to 0.

Link: https://lore.kernel.org/r/1615349771-81106-1-git-send-email-jiapeng.chong@linux.alibaba.com
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mac53c94.c