diff options
| author | Rui Miguel Silva <[email protected]> | 2016-09-30 19:24:31 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-10-02 15:49:25 +0200 |
| commit | 85a42dc8676c2ea15fb44715eef85a7a419254a0 (patch) | |
| tree | ff3dd3efa8be0507e2e81cf1351730e66e387ad0 /tools/perf/scripts/python | |
| parent | 71bad7f086419dc674244b91ca35a12bfa4cb597 (diff) | |
staging: greybus: sdio: fix cmd_flags check for none response
When checking for command flags field if response is not available we
really need to compare it with the right define and not bitwise AND it.
smatch warn:
drivers/staging/greybus/sdio.c:481 gb_sdio_command()
warn: bitwise AND condition is false here
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Rui Miguel Silva <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions