diff options
author | Roland Dreier <roland@purestorage.com> | 2013-02-08 23:18:40 (GMT) |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-02-13 20:16:11 (GMT) |
commit | 71f41fe1fafae2e407ef19d8174207f7ff80b387 (patch) | |
tree | e780f1e3fcfec59f5ff3f876d8850843d52b442c /drivers/pwm/pwm-jz4740.c | |
parent | bb992e72f9b751fceb04afeb7736b6a3e50effcf (diff) | |
download | linux-fsl-qoriq-71f41fe1fafae2e407ef19d8174207f7ff80b387.tar.xz |
target: Fix parameter list length checking in MODE SELECT
An empty parameter list (length == 0) is not an error, so succeed MODE
SELECT in this case. If the parameter list length is too small,
return the correct sense code of PARAMETER LIST LENGTH ERROR.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/pwm/pwm-jz4740.c')
0 files changed, 0 insertions, 0 deletions