[PATCH v1] clk: microchip: mpfs-ccc: replace include of asm-generic/errno-base.h

Al Viro viro at zeniv.linux.org.uk
Thu Dec 14 13:10:46 PST 2023


On Thu, Dec 14, 2023 at 10:59:57AM +0000, Conor Dooley wrote:
> From: Conor Dooley <conor.dooley at microchip.com>
> 
> As evidenced by the fact that only 2 other drivers include this header,
> it is not a normal thing to do. Including the regular version of this
> header is far more conventional for drivers.

ACK.  Includes of asm-generic/anything.h are fine in arch/*/include/*
and (under some circumstances) in include/*; anywhere else they are very
dubious, including outright bugs (io_uring/uring_cmd.h include
of asm-generic/ioctls.h, for example).



More information about the linux-riscv mailing list