Re: [GIT PULL 3/6] ARM: SoC driver updates for 5.1

From: Linus Torvalds
Date: Wed Mar 06 2019 - 13:09:50 EST


On Wed, Mar 6, 2019 at 7:34 AM Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git tags/armsoc-drivers

This caused a surprising number of kernel file rebuilds for me, and
the reason was

> include/linux/mod_devicetable.h | 9 +

It turns out that the above is indirectly included from a _lot_ of
code device header files.

The reason seems to be the various 'struct *_device_id' declarations,
that then all the different header files want.

So a tiny change in an oddball header file causes a lot of recompiles.

Oh well. I don't know if there is anything to be done, but I did react
to how some surprising changes cause a lot of build activity, and it's
not always obvious.

Linus