Thread (9 messages) 9 messages, 4 authors, 2024-03-23

Re: [PATCH v2] staging: sm750fb: Replace comparisons with NULL and 0

flat view

From: Dan Carpenter <hidden>
Date: 2024-03-21 05:41:40
Also in: linux-staging, lkml

On Wed, Mar 20, 2024 at 11:39:43PM +0530, Chandra Pratap wrote:
Replace '(opt != NULL)' with '(opt)' and '(*opt != 0)'
with '(*opt != '\0')' to adhere to the coding standards.

Signed-off-by: Chandra Pratap <redacted>
---
Changes in v2:
  - Update the commit message to reflect the changes better
  - replace (*opt) with (*opt != '\0')
Thanks!

Reviewed-by: Dan Carpenter <redacted>

regards,
dan carpenter

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help