LWN.net Logo

Kernel includefile bug not fixed after a year :-(

From:  Joerg Schilling <schilling@fokus.fraunhofer.de>
To:  linux-kernel@vger.kernel.org
Subject:  Kernel includefile bug not fixed after a year :-(
Date:  Tue, 30 Sep 2003 12:28:39 +0200 (CEST)

A year after I did report this inconsistency, it is still not fixed

If include/scsi/scsi.h is included without __KERNEL__ #defined, then this
error message apears.

/usr/src/linux/include/scsi/scsi.h:172: parse error before "u8"
/usr/src/linux/include/scsi/scsi.h:172: warning: no semicolon at end of struct 
or union
/usr/src/linux/include/scsi/scsi.h:173: warning: data definition has no type or 
storage class

Is there no interest in user applications for kernel features or is there just
no kernel maintainer left over who makes the needed work?


Hints:

-	A type named "u8" is superfluous (even with __KERNEL__ #defined)
	because we have a standard type uint8_t

-	Kernel include files should be checked for use compliance with level 
	compilations on a regular base. It is the duty of the persons who
	make changes to make sure that their changes don't break things.

J,Av(Brg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) J,Av(Brg 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/


(Log in to post comments)

Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds