* glibc and make headers_install_all provide /usr/include/scsi
@ 2007-08-06 12:45 Olaf Hering
2007-08-06 12:52 ` Christoph Hellwig
0 siblings, 1 reply; 4+ messages in thread
From: Olaf Hering @ 2007-08-06 12:45 UTC (permalink / raw)
To: linux-scsi, linux-kernel, libc-alpha
glibc and make headers_install_all provide /usr/include/scsi
One of them has to go.
A quick diff shows no differences, expect:
scsi.h:
glibc #define STATUS_MASK 0x3e
Linux #define STATUS_MASK 0xfe
glibc #define ABORT 0x06
Linux #define ABORT_TASK_SET 0x06
sg.h:struct sg_iovec ->sg_iovec
unsigned char * in glibc
void * in Linux
glibc #define SG_DEFAULT_RETRIES 1
Linux #define SG_DEFAULT_RETRIES 0
Which copy should be provided by a distributor?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: glibc and make headers_install_all provide /usr/include/scsi
2007-08-06 12:45 glibc and make headers_install_all provide /usr/include/scsi Olaf Hering
@ 2007-08-06 12:52 ` Christoph Hellwig
2007-08-06 13:02 ` [PATCH] do not export /usr/include/scsi in make headers_install Olaf Hering
0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2007-08-06 12:52 UTC (permalink / raw)
To: Olaf Hering; +Cc: linux-scsi, linux-kernel, libc-alpha
On Mon, Aug 06, 2007 at 02:45:46PM +0200, Olaf Hering wrote:
>
> glibc and make headers_install_all provide /usr/include/scsi
> One of them has to go.
>
> A quick diff shows no differences, expect:
..
> Which copy should be provided by a distributor?
The glibc one of course. The kernel scsi.h should never have been
added to the list of exportable headers.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] do not export /usr/include/scsi in make headers_install
2007-08-06 12:52 ` Christoph Hellwig
@ 2007-08-06 13:02 ` Olaf Hering
2007-08-11 6:42 ` David Woodhouse
0 siblings, 1 reply; 4+ messages in thread
From: Olaf Hering @ 2007-08-06 13:02 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-scsi, linux-kernel
On Mon, Aug 06, Christoph Hellwig wrote:
> On Mon, Aug 06, 2007 at 02:45:46PM +0200, Olaf Hering wrote:
> >
> > glibc and make headers_install_all provide /usr/include/scsi
> > One of them has to go.
> >
> > A quick diff shows no differences, expect:
>
> ..
>
> > Which copy should be provided by a distributor?
>
> The glibc one of course. The kernel scsi.h should never have been
> added to the list of exportable headers.
/usr/include/scsi is provided by glibc.
Remove the scsi export from make headers_install target.
Signed-off-by: Olaf Hering <olh@suse.de>
---
include/Kbuild | 1 -
include/scsi/Kbuild | 4 ----
2 files changed, 5 deletions(-)
--- a/include/Kbuild
+++ b/include/Kbuild
@@ -1,6 +1,5 @@
header-y += asm-generic/
header-y += linux/
-header-y += scsi/
header-y += sound/
header-y += mtd/
header-y += rdma/
--- a/include/scsi/Kbuild
+++ /dev/null
@@ -1,4 +0,0 @@
-header-y += scsi.h
-
-unifdef-y += scsi_ioctl.h
-unifdef-y += sg.h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] do not export /usr/include/scsi in make headers_install
2007-08-06 13:02 ` [PATCH] do not export /usr/include/scsi in make headers_install Olaf Hering
@ 2007-08-11 6:42 ` David Woodhouse
0 siblings, 0 replies; 4+ messages in thread
From: David Woodhouse @ 2007-08-11 6:42 UTC (permalink / raw)
To: Olaf Hering; +Cc: Andrew Morton, linux-scsi, linux-kernel
On Mon, 2007-08-06 at 15:02 +0200, Olaf Hering wrote:
> On Mon, Aug 06, Christoph Hellwig wrote:
>
> > On Mon, Aug 06, 2007 at 02:45:46PM +0200, Olaf Hering wrote:
> > >
> > > glibc and make headers_install_all provide /usr/include/scsi
> > > One of them has to go.
> > >
> > > A quick diff shows no differences, expect:
> >
> > ..
> >
> > > Which copy should be provided by a distributor?
> >
> > The glibc one of course. The kernel scsi.h should never have been
> > added to the list of exportable headers.
>
> /usr/include/scsi is provided by glibc.
> Remove the scsi export from make headers_install target.
>
>
> Signed-off-by: Olaf Hering <olh@suse.de>
Acked-by: David Woodhouse <dwmw2@infradead.org>
> ---
> include/Kbuild | 1 -
> include/scsi/Kbuild | 4 ----
> 2 files changed, 5 deletions(-)
>
> --- a/include/Kbuild
> +++ b/include/Kbuild
> @@ -1,6 +1,5 @@
> header-y += asm-generic/
> header-y += linux/
> -header-y += scsi/
> header-y += sound/
> header-y += mtd/
> header-y += rdma/
> --- a/include/scsi/Kbuild
> +++ /dev/null
> @@ -1,4 +0,0 @@
> -header-y += scsi.h
> -
> -unifdef-y += scsi_ioctl.h
> -unifdef-y += sg.h
> -
> 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/
--
dwmw2
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-08-11 6:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-06 12:45 glibc and make headers_install_all provide /usr/include/scsi Olaf Hering
2007-08-06 12:52 ` Christoph Hellwig
2007-08-06 13:02 ` [PATCH] do not export /usr/include/scsi in make headers_install Olaf Hering
2007-08-11 6:42 ` David Woodhouse
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).