aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorBryan Wu <[email protected]>2009-01-08 00:21:19 +0800
committerGreg Kroah-Hartman <[email protected]>2009-01-27 16:15:35 -0800
commit08889517b3713926169d79d99782192e86acdc67 (patch)
tree8d5a6641ef9e96fa100d08bf67603989cf90e00c /fs/jbd2/commit.c
parentdd4dff8b035f6dda69ece98e20d4c2d76b9f97d1 (diff)
USB: composite: Fix bug: low byte of w_index is the usb interface number not the whole 2 bytes of w_index
In some usb gadget driver, for example usb audio class device, the high byte of w_index is the entity id and low byte is the interface number. If we use the 2 bytes of w_index as the array number, we will get a wrong pointer or NULL pointer. This patch fixes this issue. Signed-off-by: Bryan Wu <[email protected]> Acked-by: David Brownell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions