Re: [PATCH 0/7] Silence even more W=2 warnings

From: Borislav Petkov
Date: Thu Sep 25 2014 - 12:44:57 EST

On Thu, Sep 25, 2014 at 09:45:29AM +0200, Geert Uytterhoeven wrote:
> Instead of grepping, you can feed the build log to linux-log-summary.
> Or when changing a driver, feed the before and after build logs to
> linux-log-diff. That way you won't miss the single new warning you've
> just introduced.

Yep, nice stuff: linux-log-summary does nicely summarize it all like
this here:

include/linux/kernel.h:120:19: warning: cast from function call of type âvoid *â to non-matching type âlong unsigned intâ [-Wbad-function-cast]: 40 warnings in 1 logs
include/linux/kernel.h:67:27: warning: conversion to âintâ from âlong unsigned intâ may alter its value [-Wconversion]: 2 warnings in 1 logs
include/linux/kernel.h:67:33: warning: conversion to âlong unsigned intâ from âintâ may change the sign of the result [-Wsign-conversion]: 3 warnings in 1 logs

which I ran on a file built with W=123.

So I'd say everything needed is there to massage those build logs.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at