summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_quirks.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2006-05-14 09:01:07 +0000
committerMarc Espie <espie@cvs.openbsd.org>2006-05-14 09:01:07 +0000
commit8ae05df04c7122306d1cf9d2eacde3fab73f75fb (patch)
treec58dd71fab96bdcf828de43045045410eba1790f /sys/dev/usb/usb_quirks.c
parent3bdf03d71d87d023dbd99463281307a29375e3ea (diff)
lint warns about some fishy type conversion.
Indeed, some ints can be silently shortened to unsigned short. Since those functions can return errors, do not convert spurious parameters to the wrong values, but return an error code instead. Tested for ill effects without any noticeable problems. okay millert@, otto@
Diffstat (limited to 'sys/dev/usb/usb_quirks.c')
0 files changed, 0 insertions, 0 deletions