Re: [PATCH 3.16] staging: usbip stub_rx fix static checker warning on unnecessary checks

2018-11-10 Thread Ben Hutchings
On Mon, 2018-02-26 at 14:12 -0700, Shuah Khan wrote: > Upstream commit 10c901209306 > ("usbip: stub_rx: fix static checker warning on unnecessary checks") > > Back-port fix for static checker warning on unnecessary checks > > smatch warnings: > drivers/staging/usbip/stub_rx.c:360 get_pipe()

[PATCH 3.16] staging: usbip stub_rx fix static checker warning on unnecessary checks

2018-02-26 Thread Shuah Khan
Upstream commit 10c901209306 ("usbip: stub_rx: fix static checker warning on unnecessary checks") Back-port fix for static checker warning on unnecessary checks smatch warnings: drivers/staging/usbip/stub_rx.c:360 get_pipe() warn: impossible condition '(pdu->u.cmd_submit.transfer_buffer_length >