[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Yi2S+n+0lnuua4eC@swift.blarg.de>
Date: Sun, 13 Mar 2022 07:45:14 +0100
From: Max Kellermann <max@...rg.de>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/4] include/pipe_fs_i.h: add missing #includes
On 2022/03/13 02:49, Al Viro <viro@...iv.linux.org.uk> wrote:
> TBH, I'd rather avoid breeding chain includes; sure, mutex.h and wait.h
> are extremely common anyway. Oh, well....
In my usual coding style, I expect I can include any header and it
will bring its whole dependency chain (which should be as small as
possible, but not smaller). This seems cleaner to me, because .c
files need to have no insight what a .h file needs (even if the
dependencies are "extremely common").
If the kernel coding style does not consider this useful, we can of
course easily drop that patch.
Powered by blists - more mailing lists