public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: linux-scsi@vger.kernel.org
Subject: Move scsi.h, hosts.h to include/linux/scsi ?
Date: Sun, 16 Feb 2003 22:14:22 +0100	[thread overview]
Message-ID: <20030216211422.GD8572@mars.ravnborg.org> (raw)

The usual rule within the kernel is that all header files useby more than
one file, or at least by files spread all over the kernel,
should be located in include/linux.

Has this been considered for scsi.h, and if not so - why not?
The same for hosts.h.

Background for my question is that I'm doing some kbuild changes,
and it is rather annoying to support include of scsi.h from all over.
See the following snippet from: arch/i386/kernel/edd.c

/* FIXME - this really belongs in include/scsi/scsi.h */
#include <../drivers/scsi/scsi.h>
#include <../drivers/scsi/hosts.h>
 
I'm willing to do the footwork if the general answer is 'go for it',
but do not want to invest the time needed before general acceptance.

By the way - more candidates in drivers/scsi?

	Sam

             reply	other threads:[~2003-02-16 21:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-16 21:14 Sam Ravnborg [this message]
2003-02-17 12:18 ` Move scsi.h, hosts.h to include/linux/scsi ? Christoph Hellwig
2003-02-17 12:53   ` Sam Ravnborg
2003-02-17 12:58     ` Christoph Hellwig
2003-02-17 13:07       ` Sam Ravnborg
2003-02-17 14:18         ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030216211422.GD8572@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox