summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDongliang Mu <mudongliangabcd@gmail.com>2022-06-02 08:50:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-12 12:39:32 +0300
commitec50b5ad169b1bde447fe4a3c8c652828ead8cf3 (patch)
tree6c483c9f43fbc467ac2b943b7cc9576393625d13 /net
parent40d47c2e843848f5228534d870b5146d5bf9fc13 (diff)
downloadlinux-ec50b5ad169b1bde447fe4a3c8c652828ead8cf3.tar.xz
media: flexcop-usb: fix sanity check of bNumEndpoints
[ Upstream commit f62dc8f6bf82d1b307fc37d8d22cc79f67856c2f ] Commit d725d20e81c2 ("media: flexcop-usb: sanity checking of endpoint type ") adds a sanity check for endpoint[1], but fails to modify the sanity check of bNumEndpoints. Fix this by modifying the sanity check of bNumEndpoints to 2. Link: https://lore.kernel.org/linux-media/20220602055027.849014-1-dzm91@hust.edu.cn Fixes: d725d20e81c2 ("media: flexcop-usb: sanity checking of endpoint type") Signed-off-by: Dongliang Mu <mudongliangabcd@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions