Re: Build regressions/improvements in v4.4-rc7

From: Tejun Heo
Date: Mon Dec 28 2015 - 11:29:41 EST


Hello,

On Mon, Dec 28, 2015 at 08:22:20AM -0800, Randy Dunlap wrote:
> On 12/28/15 08:18, Tejun Heo wrote:
> > On Mon, Dec 28, 2015 at 01:29:18PM +0100, Geert Uytterhoeven wrote:
> >> On Mon, Dec 28, 2015 at 1:21 PM, Geert Uytterhoeven
> >> <geert@xxxxxxxxxxxxxx> wrote:
> >>> JFYI, when comparing v4.4-rc7[1] to v4.4-rc6[3], the summaries are:
> >>> - build errors: +14/-3
> >>
> >> + /home/kisskb/slave/src/include/linux/kqueue.h: error:
> >> dereferencing type-punned pointer will break strict-aliasing rules
> >> [-Werror=strict-aliasing]: => 186:2
> >
> > kqueue.h?
> >
>
> + /home/kisskb/slave/src/include/linux/workqueue.h: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]: => 186:2

Heh, yeah, that makes a lot more sense. At the same time tho, the
code has been there forever and there are a lot of simliar derefs
throughout kernel/workqueue.c. Is there something the code should be
doing?

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/