]> git.baikalelectronics.ru Git - kernel.git/commit
testusb: Fix warning comparing pointer to 0
authorHaowen Bai <baihaowen@meizu.com>
Thu, 24 Mar 2022 02:16:11 +0000 (10:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2022 11:32:49 +0000 (13:32 +0200)
commit9f9f0deb4baeb3904c4120e76e555ee57102efb6
treea30ed68f6413459757a7e4081bf69ce33f2c012d
parent6bd433dba2bc97800e2d49bff96a475489f30cf9
testusb: Fix warning comparing pointer to 0

Avoid pointer type value compared with 0 to make code clear.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Link: https://lore.kernel.org/r/1648088171-30912-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/usb/testusb.c