staging: xgifb: Replace explicit NULL comparison
PATCH 1/1 staging: xgifb: Replace explicit NULL comparison
Replace explicit NULL comparison with equivalent expression to resolve checkpatch issue.
- x != NULL => x
--- drivers/staging/xgifb/XGI_main_26.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0
b/drivers/staging/xgifb/XGI_main_26.c
index d56ef14..23a3bd7 100644
drivers/staging/xgifb/XGI_main_26.c +1 -1
@@ -2085,7 +2085,7 @@ static int __init xgifb_init(void) {char *option =NULL ; -if (forcecrt2type !=NULL ) +if (forcecrt2type)XGIfb_search_crt2type (forcecrt2type);if (fb_get_options ("xgifb" , &option))return -ENODEV ;
Greg Kroah-Hartman
maintainerQuoted 8 lines · Namrata A Shettar
Replace explicit NULL comparison� with equivalent expression to resolve checkpatch issue.
- x != NULL => xSigned-off-by Namrata A Shettar <[email protected]>---
�drivers/staging/xgifb/XGI_main_26.c | 2 +-
�1 file changed, 1 insertion(+), 1 deletion(-)
You sent this as an html email, and that will not work for patches, sorry.
thanks,
greg k-h
Yes,will keep that in mind and use some other mail-agent.Will resend all my patches.Thanks for being patient and sorry for the inconvenience caused.
-Namrata
Quoted 16 lines · Greg Kroah-Hartman
Quoted 8 lines · Namrata A Shettar
Replace explicit NULL comparison� with equivalent expression to resolve checkpatch issue.
- x != NULL => xSigned-off-by Namrata A Shettar <[email protected]>---
�drivers/staging/xgifb/XGI_main_26.c | 2 +-
�1 file changed, 1 insertion(+), 1 deletion(-)You sent this as an html email, and that will not work for patches, sorry.
thanks,
greg k-h