projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eefae30
)
[media] si2157: add one missing parenthesis
author
Antti Palosaari
<crope@iki.fi>
Fri, 13 Jun 2014 14:19:07 +0000
(11:19 -0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Thu, 19 Jun 2014 16:13:05 +0000
(13:13 -0300)
Fix following warnings:
si2157_cmd_execute() warn: add some parenthesis here?
si2157_cmd_execute() warn: maybe use && instead of &
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/tuners/si2157.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/tuners/si2157.c
b/drivers/media/tuners/si2157.c
index 271a752cee5415a825fed6af3e2e125d1ebf343a..fa4cc7b880aa4774f4fdf6d7c6cf3ddbb010dbd8 100644
(file)
--- a/
drivers/media/tuners/si2157.c
+++ b/
drivers/media/tuners/si2157.c
@@
-57,7
+57,7
@@
static int si2157_cmd_execute(struct si2157 *s, struct si2157_cmd *cmd)
jiffies_to_msecs(jiffies) -
(jiffies_to_msecs(timeout) - TIMEOUT));
- if (!(
buf[0] >> 7) & 0x01
) {
+ if (!(
(buf[0] >> 7) & 0x01)
) {
ret = -ETIMEDOUT;
goto err_mutex_unlock;
} else {