Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1357153

Re: [patch] kexec: potetially using uninitialized variable

From Dan Carpenter <dan.carpenter@oracle.com>
Newsgroups linux.kernel
Subject Re: [patch] kexec: potetially using uninitialized variable
Date 2016-03-14 12:00 +0100
Message-ID <rcyoa-2Ex-19@gated-at.bofh.it> (permalink)
References <rbqj0-3fw-3@gated-at.bofh.it> <rbr5r-3zy-59@gated-at.bofh.it> <rbroJ-3VO-7@gated-at.bofh.it> <rbrRN-489-13@gated-at.bofh.it> <rbxkt-8dl-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Mar 11, 2016 at 11:38:19PM +0800, Minfei Huang wrote:
> I think we can modify the logic a bit to make code simple. Thus gcc will
> not complain about any more, and the logic is earier.

This is a Smatch warning, not a GCC warning.  If you think the new code
is clearer, that's fine but don't just silence the warning to please
Smatch.  I'm pretty sure I can silence this warning in Smatch.

regards,
dan carpenter

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[patch] kexec: potetially using uninitialized variable Dan Carpenter <dan.carpenter@oracle.com> - 2016-03-11 09:10 +0100
  Re: [patch] kexec: potetially using uninitialized variable Xunlei Pang <xpang@redhat.com> - 2016-03-11 10:00 +0100
    Re: [patch] kexec: potetially using uninitialized variable Dan Carpenter <dan.carpenter@oracle.com> - 2016-03-11 10:20 +0100
      Re: [patch] kexec: potetially using uninitialized variable walter harms <wharms@bfs.de> - 2016-03-11 10:50 +0100
        Re: [patch] kexec: potetially using uninitialized variable Minfei Huang <mnfhuang@gmail.com> - 2016-03-11 16:40 +0100
          Re: [patch] kexec: potetially using uninitialized variable Dan Carpenter <dan.carpenter@oracle.com> - 2016-03-14 12:00 +0100
            Re: [patch] kexec: potetially using uninitialized variable Minfei Huang <mnfhuang@gmail.com> - 2016-03-14 12:30 +0100

csiph-web