Commit dd150f1c authored by fangxiaozhi's avatar fangxiaozhi Committed by Greg Kroah-Hartman
Browse files

USB: storage: properly handle the endian issues of idProduct



commit cd060956 upstream.

1. The idProduct is little endian, so make sure its value to be
compatible with the current CPU. Make no break on big endian processors.

Signed-off-by: default avatarfangxiaozhi <huananhu@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ff8cce5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment