All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Namrata A Shettar <namrataashettar@gmail.com>
Cc: outreachy-kernel <outreachy-kernel@googlegroups.com>,
	Arnaud Patard <arnaud.patard@rtp-net.org>,
	Clifton Barnes <clifton.a.barnes@gmail.com>,
	Geliang Tang <geliangtang@163.com>,
	Ben Marsh <bmarsh94@gmail.com>,
	Janani Ravichandran <janani.rvchndrn@gmail.com>,
	Benoit Hiller <benoit.hiller@gmail.com>
Subject: Re: [PATCH v2] staging: xgifb: Replace explicit NULL comparison
Date: Sat, 17 Sep 2016 20:38:46 +0200	[thread overview]
Message-ID: <20160917183846.GA4232@kroah.com> (raw)
In-Reply-To: <20160916105653.GE5686@namrata-HP-Pavilion-g6-Notebook-PC>

On Fri, Sep 16, 2016 at 04:26:56PM +0530, Namrata A Shettar wrote:
> Replace explicit NULL comparison  with equivalent expression to resolve
> checkpatch issue.
> - x != NULL => x
> 
> Signed-off-by: Namrata A Shettar <namrataashettar@gmail.com>
> ---
>  Changes in v2:
>  -sent using plain text mail agent
> 
>  drivers/staging/xgifb/XGI_main_26.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
>   diff --git a/drivers/staging/xgifb/XGI_main_26.c
>   b/drivers/staging/xgifb/XGI_main_26.c
>   index d56ef14..23a3bd7 100644
>   --- a/drivers/staging/xgifb/XGI_main_26.c
>   +++ b/drivers/staging/xgifb/XGI_main_26.c
>   @@ -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;

This is really corrupted, I don't know how you did this, it's a new one
to me...

Please fix up and resend.

thanks,

greg k-h


  reply	other threads:[~2016-09-17 18:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-16 10:56 [PATCH v2] staging: xgifb: Replace explicit NULL comparison Namrata A Shettar
2016-09-17 18:38 ` Greg Kroah-Hartman [this message]
2016-09-18  4:48   ` Namrata A Shettar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160917183846.GA4232@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=arnaud.patard@rtp-net.org \
    --cc=benoit.hiller@gmail.com \
    --cc=bmarsh94@gmail.com \
    --cc=clifton.a.barnes@gmail.com \
    --cc=geliangtang@163.com \
    --cc=janani.rvchndrn@gmail.com \
    --cc=namrataashettar@gmail.com \
    --cc=outreachy-kernel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.