linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* scsi.h
@ 2003-05-22 21:28 Jeremy Buseman
  2003-05-23  7:48 ` scsi.h ismail (cartman) donmez
  0 siblings, 1 reply; 3+ messages in thread
From: Jeremy Buseman @ 2003-05-22 21:28 UTC (permalink / raw)
  To: linux-kernel

Summary:  When compiling cdrtools with 2.5.69-bk13
scsi.h causes errors at line 229 and 230.  

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: scsi.h
  2003-05-22 21:28 scsi.h Jeremy Buseman
@ 2003-05-23  7:48 ` ismail (cartman) donmez
  0 siblings, 0 replies; 3+ messages in thread
From: ismail (cartman) donmez @ 2003-05-23  7:48 UTC (permalink / raw)
  To: Jeremy Buseman, linux-kernel

On Friday 23 May 2003 00:28, Jeremy Buseman wrote:
> Summary:  When compiling cdrtools with 2.5.69-bk13
> scsi.h causes errors at line 229 and 230.
>

Add

typedef unsigned char u8;

to scsihack.c under cdrtools source to the ifdef __LINUX__ part. This is a 
cdrtools bug not a kernel one.

Regards,
/ismail donmez

-- 
Microsoft Windows : Made for Internet
The Internet : Made For UniX

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: scsi.h
@ 2003-05-23  1:13 Douglas Gilbert
  0 siblings, 0 replies; 3+ messages in thread
From: Douglas Gilbert @ 2003-05-23  1:13 UTC (permalink / raw)
  To: linux-scsi, naviathan; +Cc: linux-kernel

Jeremy Buseman wrote on lkml:
 > Summary:  When compiling cdrtools with 2.5.69-bk13
 > scsi.h causes errors at line 229 and 230.

That is the "u8" typedef that I tried to change to
something a little saner a while back.

Do we have any volunteers to discuss this matter with
Joerg Schilling? Even if he changes his next release,
he can't do much about the earlier releases.

As mentioned in the "RFC: move hosts.h and scsi.c" thread
started by Jeff Garzik on the lsml, some existing apps
(cdrecord/cdrtools and perhaps SANE) assume that the headers
in /usr/src/linux/include/scsi can be included safely in
their low level transports.
This was true but is no longer in the lk 2.5 series.

An ugly transition header included at the top of that
"scsi.h" could address this problem but my guess is some
will dislike this idea:

/* deprecated, this transition header will be removed in lk 2.8 */
#ifndef __KERNEL__
#define u8 int8_t
#define __user
....
#endif


Playing both sides of this debate, I recently added "__user"
qualifiers in sg.h (not yet released).

Doug Gilbert


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-23  7:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-22 21:28 scsi.h Jeremy Buseman
2003-05-23  7:48 ` scsi.h ismail (cartman) donmez
2003-05-23  1:13 scsi.h Douglas Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).