summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2003-09-17 03:59:40 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2003-09-17 03:59:40 -0700
commit5446ab92b78853b432dbe47b8e555d3c65a1e61b (patch)
tree2fc87e9aff0675e2fbd4f035ad5a18bfc3dded98 /include/linux
parent43345b84febb1a63fc14c587d33809410ce26404 (diff)
[PATCH] USB: Changes to core/config.c (5 of 9)
This patch centralizes the error checking for invalid descriptor lengths and unexpected descriptor types. Instead of doing it in three different places -- while parsing configuration, interface, and endpoint descriptors -- the new code does it all at once. Not surprisingly, this yields a net savings in code size.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions