[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fb983fa3-bf4d-42aa-b5c3-4927504c32d9@acm.org>
Date: Mon, 16 Oct 2023 13:48:46 -0700
From: Bart Van Assche <bvanassche@....org>
To: enh <enh@...gle.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-scsi@...r.kernel.org
Subject: Re: [PATCH] scsi_status_is_good() uses __KERNEL__ constants.
On 10/16/23 13:42, enh wrote:
> Without this missing #ifdef, userspace code trying to use this header
> directly won't compile. glibc manually removes it, bionic removes it
> using a script. If we add this, the preprocessor can remove it instead.
Is that the right solution? Shouldn't these software projects be
modified such that <scsi/scsi.h> is *not* included?
Thanks,
Bart.
Powered by blists - more mailing lists