lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 18 Apr 2022 23:39:00 +0530 From: Aliya Rahmani <aliyarahmani786@...il.com> To: mchehab@...nel.org Cc: gregkh@...uxfoundation.org, linux-staging@...ts.linux.dev, outreachy@...ts.linux.dev, linux-kernel@...r.kernel.org, Aliya Rahmani <aliyarahmani786@...il.com> Subject: [PATCH] staging: media: av7110: comparison to NULL could be written "fe_func" Fixed coding style for null comparisons to be more consistent with the rest of the kernel coding style. Signed-off-by: Aliya Rahmani <aliyarahmani786@...il.com> --- drivers/staging/media/av7110/av7110.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/av7110/av7110.c b/drivers/staging/media/av7110/av7110.c index d74ee0ecfb36..bdc6adf70d72 100644 --- a/drivers/staging/media/av7110/av7110.c +++ b/drivers/staging/media/av7110/av7110.c @@ -107,7 +107,7 @@ static int av7110_num; #define FE_FUNC_OVERRIDE(fe_func, av7110_copy, av7110_func) \ {\ - if (fe_func != NULL) { \ + if (fe_func) { \ av7110_copy = fe_func; \ fe_func = av7110_func; \ } \ -- 2.25.1
Powered by blists - more mailing lists