lkml.org 
[lkml]   [2004]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Make scsi.h nominally userspace-clean
>From axboe@suse.de  Mon Aug  9 19:52:11 2004

>> scsi/scsi.h does not compile cleanly in userspace programs due to its
>> use of ``u8''. I have confirmed this bug and prepared and tested a
>> fix that simply changes all such uses to ``__u8''. Please consider
>> for inclusion.
>>
>> I do not argue that including this header file in a program is
>> appropriate, but other kernel headers already take as many precautions
>> as this patch introduces. I chose __u8 over uint8_t as more in the
>> style of the kernel generally.
>>
>> Please keep me on cc:; I do not subscribe to the lists.

>I already sent such a patch to Linus.

thank you! Did you also send a patch for sg.h to include linux/compiler.h?

Jörg

--
EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js@cs.tu-berlin.de (uni) If you don't have iso-8859-1
schilling@fokus.fraunhofer.de (work) chars I am J"org Schilling
URL: http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.027 / U:3.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site