Messages in this thread | | | Date | Mon, 16 Oct 2023 13:48:46 -0700 | Subject | Re: [PATCH] scsi_status_is_good() uses __KERNEL__ constants. | From | Bart Van Assche <> |
| |
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.
| |