On 25 May 2016 at 17:13, Linus Torvalds torvalds@linux-foundation.org wrote:
On Wed, May 25, 2016 at 1:28 AM, Jani Nikula jani.nikula@linux.intel.com wrote:
There may be better ones out there, but Artem's "aiaiai" has some helpers [1] for diffing build logs, if you want something simple to integrate into existing scripts.
It would be lovely to have some kind of warning detection, but quite frankly, just doing a build and counting lines in 'stderr' from the build and having some trigger for "oops, lots of new lines" would be sufficient.
So I don't think anything really fancy to diff build logs is necessarily needed, although the people who then get the report about "your merge causes lots of new warnings" might appreciate it.
The Intel 0-Day already checks when patch introduces new warnings, emailing the author and subsystem with the details. In this particular case, the patch was out the next day and I was silly enough not to ask Dave to include it in the same pull request.
Regards, Emil