[lkml]   [2004]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux Kernel bug report (includes fix)
>From: Jim Gifford <>

>There is a simple fix to your problem, I have sent this patch to you a
>few times, but never got an answer.

>I bet eveyone here will agree, this is the proper way to fix the issue

Of course, what you like to do is not the proper way....

>-DEFINCDIRS= $(SRCROOT)/include /usr/src/linux/include

/usr/src/linux/include is definitely needed on Linux-2.2 and before

> #if LINUX_VERSION_CODE >= 0x01031a /* <linux/scsi.h> introduced in
>1.3.26 */
> #if LINUX_VERSION_CODE >= 0x020000 /* <scsi/scsi.h> introduced
>somewhere. */
>+ #define __KERNEL__
>+ #include <asm/types.h>
>+ #include <asm/byteorder.h>
>+ #undef __KERNEL__

If an application would need to #define __KERNEL__ and to include
inofficial include files, the official include files are broken
and should be fixed. This is exactly the reason why I send a bug report
against include/scsi/scsi.h & include/scsi/sg.h


-- (home) Jörg Schilling D-13353 Berlin (uni) If you don't have iso-8859-1 (work) chars I am J"org Schilling
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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