diff options
author | Tom Rix <trix@redhat.com> | 2020-11-27 17:44:08 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-12-03 08:54:13 +0100 |
commit | 5049c15e41c6abceef614810cf2b9454ba5facaa (patch) | |
tree | 3226385c0a334e0a25cbff0691b56df1284e1167 /drivers | |
parent | 9fe46e7946fca0e9444c1481fec01e7bdcf636ea (diff) | |
download | linux-stable-5049c15e41c6abceef614810cf2b9454ba5facaa.tar.gz linux-stable-5049c15e41c6abceef614810cf2b9454ba5facaa.tar.bz2 linux-stable-5049c15e41c6abceef614810cf2b9454ba5facaa.zip |
media: si4713: remove trailing semicolon in macro definition
The macro use will already have a semicolon.
[hverkuil: also add () around p in the macro]
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/radio/si4713/si4713.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/si4713/si4713.c b/drivers/media/radio/si4713/si4713.c index 6afa7c3464ab..adbf43ff6a21 100644 --- a/drivers/media/radio/si4713/si4713.c +++ b/drivers/media/radio/si4713/si4713.c @@ -86,7 +86,7 @@ MODULE_VERSION("0.0.1"); #define check_command_failed(status) (!(status & SI4713_CTS) || \ (status & SI4713_ERR)) /* mute definition */ -#define set_mute(p) ((p & 1) | ((p & 1) << 1)); +#define set_mute(p) (((p) & 1) | (((p) & 1) << 1)) #ifdef DEBUG #define DBG_BUFFER(device, message, buffer, size) \ |