On 17/09/2015 17:32, Bart Van Assche wrote:
>
>> +
>> +#ifndef __KERNEL__
>> +/* Keep in sync with SG_DEFAULT_TIMEOUT of scsi/sg.h */
>> #define SG_DEFAULT_TIMEOUT(60*HZ) /* HZ == 'jiffies in 1
>> second' */
>> #endif
>
> Is it useful and/or necessary to export this constant ?
On 09/17/2015 06:47 AM, Paolo Bonzini wrote:
+
+#ifndef __KERNEL__
+/* Keep in sync with SG_DEFAULT_TIMEOUT of scsi/sg.h */
#define SG_DEFAULT_TIMEOUT(60*HZ) /* HZ == 'jiffies in 1 second' */
#endif
Is it useful and/or necessary to export this constant ? To me this
looks like an
Provide a UAPI version of the header in the kernel, making it easier
for interested projects to use an up-to-date version of the header.
The new headers are placed under uapi/linux/ so as not to conflict
with the glibc-provided headers in /usr/include/scsi.
struct scsi_ioctl_command and struct
3 matches
Mail list logo