]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
USB: usbtest.c: length, sglen and vary are unsigned, so cannot be negative
authorroel kluin <roel.kluin@gmail.com>
Tue, 21 Oct 2008 04:36:44 +0000 (00:36 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Oct 2008 17:05:28 +0000 (10:05 -0700)
commit8aafdf6a1528b0672a0527be473d9be5a12289d3
treea2fcd648b5c17b554f8197f0f5d4fd6fe172c954
parent1460e5e44cc5ecad7704f63b10dcb3a59d0e008b
USB: usbtest.c: length, sglen and vary are unsigned, so cannot be negative

length, sglen and vary are unsigned, so cannot be negative

see
vi drivers/usb/misc/usbtest.c +18
struct usbtest_param {
...
        unsigned                iterations;
        unsigned                length;
        unsigned                vary;
        unsigned                sglen;
...
};

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/usbtest.c