aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/et131x/et131x.c
diff options
context:
space:
mode:
authorEbru Akagunduz <ebru.akagunduz@gmail.com>2014-10-02 23:32:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-02 13:51:03 -0700
commit77d966f4b02179ad0b7b12179fedbd12b0c4f735 (patch)
tree23663fa9c9314e4cc45ac998b680f64c1b796ca8 /drivers/staging/et131x/et131x.c
parentstaging: emxx_udc: Fix replace printk(KERN_DEBUG ..) with dev_dbg (diff)
downloadlinux-dev-77d966f4b02179ad0b7b12179fedbd12b0c4f735.tar.xz
linux-dev-77d966f4b02179ad0b7b12179fedbd12b0c4f735.zip
staging: emxx_udc: Use min_t instead of min
Use min_t instead of min function in emxx_udc.c Fix checkpatch.pl warnings: WARNING: min() should probably be min_t(u32, iBufSize, ep->ep.maxpacket) WARNING: min() should probably be min_t(u32, data_size, ep->ep.maxpacket) WARNING: min() should probably be min_t(u16, udc->ctrl.wLength, sizeof(status_data)) Changes in v2: - Fixed min function call as min_t Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/et131x/et131x.c')
0 files changed, 0 insertions, 0 deletions