]> git.baikalelectronics.ru Git - kernel.git/commit
usb: usbtest: fix checkpatch warning as sizeof code style
authorHuang Rui <ray.huang@amd.com>
Mon, 21 Oct 2013 15:15:30 +0000 (23:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Oct 2013 23:43:36 +0000 (16:43 -0700)
commitf195c48facf340f6c678d140ed9fbb11c3b5a656
tree4d34a17339d36eb20701b4147d2fbdd9ee604cb4
parent19c74655d62eb42b2b4fb15251b3ffeb34d0fb2d
usb: usbtest: fix checkpatch warning as sizeof code style

Script checkpatch.pl always complains incorrect code style like below:

WARNING: sizeof *udev->bos->desc should be sizeof(*udev->bos->desc)

This patch fixes the warning for usbtest module.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usbtest.c