Re: [PATCH] scsi_status_is_good() uses __KERNEL__ constants.
From: Bart Van Assche
Date: Mon Oct 16 2023 - 16:48:55 EST
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.