* Re: [bug report] netlabel: fix our progress tracking in netlbl_unlabel_staticlist()
2020-11-13 8:52 [bug report] netlabel: fix our progress tracking in netlbl_unlabel_staticlist() Dan Carpenter
@ 2020-11-13 14:41 ` Paul Moore
2020-11-14 9:45 ` Dan Carpenter
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Paul Moore @ 2020-11-13 14:41 UTC (permalink / raw)
To: kernel-janitors
On Fri, Nov 13, 2020 at 3:53 AM Dan Carpenter <dan.carpenter@oracle.com> wrote:
>
> Hello Paul Moore,
>
> The patch 866358ec331f: "netlabel: fix our progress tracking in
> netlbl_unlabel_staticlist()" from Nov 8, 2020, leads to the following
> static checker warning:
>
> net/netlabel/netlabel_unlabeled.c:1190 netlbl_unlabel_staticlist()
> error: uninitialized symbol 'iter_chain'.
Thanks Dan, I'll look at it today. I'm a little confused as to why
the compiler didn't flag that, but perhaps I just missed it. Anyway,
patch later today ...
--
paul moore
www.paul-moore.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [bug report] netlabel: fix our progress tracking in netlbl_unlabel_staticlist()
2020-11-13 8:52 [bug report] netlabel: fix our progress tracking in netlbl_unlabel_staticlist() Dan Carpenter
2020-11-13 14:41 ` Paul Moore
@ 2020-11-14 9:45 ` Dan Carpenter
2020-11-15 3:00 ` Nathan Chancellor
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Dan Carpenter @ 2020-11-14 9:45 UTC (permalink / raw)
To: kernel-janitors
On Fri, Nov 13, 2020 at 09:41:01AM -0500, Paul Moore wrote:
> On Fri, Nov 13, 2020 at 3:53 AM Dan Carpenter <dan.carpenter@oracle.com> wrote:
> >
> > Hello Paul Moore,
> >
> > The patch 866358ec331f: "netlabel: fix our progress tracking in
> > netlbl_unlabel_staticlist()" from Nov 8, 2020, leads to the following
> > static checker warning:
> >
> > net/netlabel/netlabel_unlabeled.c:1190 netlbl_unlabel_staticlist()
> > error: uninitialized symbol 'iter_chain'.
>
> Thanks Dan, I'll look at it today. I'm a little confused as to why
> the compiler didn't flag that, but perhaps I just missed it. Anyway,
> patch later today ...
GCC has stopped warning about these for some reason. Very frustrating.
regards,
dan carpenter
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [bug report] netlabel: fix our progress tracking in netlbl_unlabel_staticlist()
2020-11-13 8:52 [bug report] netlabel: fix our progress tracking in netlbl_unlabel_staticlist() Dan Carpenter
2020-11-13 14:41 ` Paul Moore
2020-11-14 9:45 ` Dan Carpenter
@ 2020-11-15 3:00 ` Nathan Chancellor
2020-11-15 14:42 ` Paul Moore
2020-11-16 8:34 ` Dan Carpenter
4 siblings, 0 replies; 6+ messages in thread
From: Nathan Chancellor @ 2020-11-15 3:00 UTC (permalink / raw)
To: kernel-janitors
On Sat, Nov 14, 2020 at 12:45:16PM +0300, Dan Carpenter wrote:
> On Fri, Nov 13, 2020 at 09:41:01AM -0500, Paul Moore wrote:
> > On Fri, Nov 13, 2020 at 3:53 AM Dan Carpenter <dan.carpenter@oracle.com> wrote:
> > >
> > > Hello Paul Moore,
> > >
> > > The patch 866358ec331f: "netlabel: fix our progress tracking in
> > > netlbl_unlabel_staticlist()" from Nov 8, 2020, leads to the following
> > > static checker warning:
> > >
> > > net/netlabel/netlabel_unlabeled.c:1190 netlbl_unlabel_staticlist()
> > > error: uninitialized symbol 'iter_chain'.
> >
> > Thanks Dan, I'll look at it today. I'm a little confused as to why
> > the compiler didn't flag that, but perhaps I just missed it. Anyway,
> > patch later today ...
>
> GCC has stopped warning about these for some reason. Very frustrating.
Most likely due to commit 78a5255ffb6a ("Stop the ad-hoc games with
-Wno-maybe-initialized").
Cheers,
Nathan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [bug report] netlabel: fix our progress tracking in netlbl_unlabel_staticlist()
2020-11-13 8:52 [bug report] netlabel: fix our progress tracking in netlbl_unlabel_staticlist() Dan Carpenter
` (2 preceding siblings ...)
2020-11-15 3:00 ` Nathan Chancellor
@ 2020-11-15 14:42 ` Paul Moore
2020-11-16 8:34 ` Dan Carpenter
4 siblings, 0 replies; 6+ messages in thread
From: Paul Moore @ 2020-11-15 14:42 UTC (permalink / raw)
To: kernel-janitors
On Sat, Nov 14, 2020 at 10:00 PM Nathan Chancellor
<natechancellor@gmail.com> wrote:
> On Sat, Nov 14, 2020 at 12:45:16PM +0300, Dan Carpenter wrote:
> > On Fri, Nov 13, 2020 at 09:41:01AM -0500, Paul Moore wrote:
> > > On Fri, Nov 13, 2020 at 3:53 AM Dan Carpenter <dan.carpenter@oracle.com> wrote:
> > > >
> > > > Hello Paul Moore,
> > > >
> > > > The patch 866358ec331f: "netlabel: fix our progress tracking in
> > > > netlbl_unlabel_staticlist()" from Nov 8, 2020, leads to the following
> > > > static checker warning:
> > > >
> > > > net/netlabel/netlabel_unlabeled.c:1190 netlbl_unlabel_staticlist()
> > > > error: uninitialized symbol 'iter_chain'.
> > >
> > > Thanks Dan, I'll look at it today. I'm a little confused as to why
> > > the compiler didn't flag that, but perhaps I just missed it. Anyway,
> > > patch later today ...
> >
> > GCC has stopped warning about these for some reason. Very frustrating.
>
> Most likely due to commit 78a5255ffb6a ("Stop the ad-hoc games with
> -Wno-maybe-initialized").
That does look like the culprit, thanks. It looks like I need to
start training my fingers to type W=X more often now when building.
--
paul moore
www.paul-moore.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [bug report] netlabel: fix our progress tracking in netlbl_unlabel_staticlist()
2020-11-13 8:52 [bug report] netlabel: fix our progress tracking in netlbl_unlabel_staticlist() Dan Carpenter
` (3 preceding siblings ...)
2020-11-15 14:42 ` Paul Moore
@ 2020-11-16 8:34 ` Dan Carpenter
4 siblings, 0 replies; 6+ messages in thread
From: Dan Carpenter @ 2020-11-16 8:34 UTC (permalink / raw)
To: kernel-janitors
On Sat, Nov 14, 2020 at 08:00:23PM -0700, Nathan Chancellor wrote:
> On Sat, Nov 14, 2020 at 12:45:16PM +0300, Dan Carpenter wrote:
> > On Fri, Nov 13, 2020 at 09:41:01AM -0500, Paul Moore wrote:
> > > On Fri, Nov 13, 2020 at 3:53 AM Dan Carpenter <dan.carpenter@oracle.com> wrote:
> > > >
> > > > Hello Paul Moore,
> > > >
> > > > The patch 866358ec331f: "netlabel: fix our progress tracking in
> > > > netlbl_unlabel_staticlist()" from Nov 8, 2020, leads to the following
> > > > static checker warning:
> > > >
> > > > net/netlabel/netlabel_unlabeled.c:1190 netlbl_unlabel_staticlist()
> > > > error: uninitialized symbol 'iter_chain'.
> > >
> > > Thanks Dan, I'll look at it today. I'm a little confused as to why
> > > the compiler didn't flag that, but perhaps I just missed it. Anyway,
> > > patch later today ...
> >
> > GCC has stopped warning about these for some reason. Very frustrating.
>
> Most likely due to commit 78a5255ffb6a ("Stop the ad-hoc games with
> -Wno-maybe-initialized").
Ugh... That explains it. These days we have the GCC plugging which
initializes things to zero so some of these don't show up in testing.
regards,
dan carpenter
^ permalink raw reply [flat|nested] 6+ messages in thread