diff options
author | Cliff Cai <cliff.cai@analog.com> | 2009-12-15 10:08:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-23 20:34:13 +0100 |
commit | f95c4c0186aa94ad41681d8f0ecd79cc45f92bda (patch) | |
tree | bfec6c0f9dd15731df51ba8753ba39c70e3868b4 /drivers/scsi/sun_esp.c | |
parent | USB: musb: move musb_remove to __exit (diff) | |
download | linux-f95c4c0186aa94ad41681d8f0ecd79cc45f92bda.tar.xz linux-f95c4c0186aa94ad41681d8f0ecd79cc45f92bda.zip |
USB: musb: fix compiling warning with min() macro
Current musb gadget dma code produces the warning:
drivers/usb/musb/musb_gadget.c: In function 'txstate':
drivers/usb/musb/musb_gadget.c:312: warning: comparison of distinct
pointer types lacks a cast
So switch to min_t(size_t, ...).
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/scsi/sun_esp.c')
0 files changed, 0 insertions, 0 deletions