USB: Gadget: COMPOSITE: Debug interface number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

The commit 'avoid access beyond array max length' incorrectly
compares w_index with MAX_CONFIG_INTERFACES. Whereas only
lower 8bits of w_index refer to the interface number.
So, use 'intf' rather than 'w_index' for comparison.

Thanks

Attachment: patch
Description: Binary data


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux