* [patch 20/28] drivers/message/fusion/linux_compat.h Removal of old code
@ 2006-09-25 23:59 akpm
0 siblings, 0 replies; 5+ messages in thread
From: akpm @ 2006-09-25 23:59 UTC (permalink / raw)
To: James.Bottomley; +Cc: linux-scsi, akpm, michal.k.k.piotrowski, Eric.Moore
From: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Acked-by: "Moore, Eric Dean" <Eric.Moore@lsil.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---
drivers/message/fusion/linux_compat.h | 9 ---------
1 file changed, 9 deletions(-)
diff -puN drivers/message/fusion/linux_compat.h~drivers-message-fusion-linux_compath-removal-of-old-code drivers/message/fusion/linux_compat.h
--- a/drivers/message/fusion/linux_compat.h~drivers-message-fusion-linux_compath-removal-of-old-code
+++ a/drivers/message/fusion/linux_compat.h
@@ -6,13 +6,4 @@
#include <linux/version.h>
#include <scsi/scsi_device.h>
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,6))
-static int inline scsi_device_online(struct scsi_device *sdev)
-{
- return sdev->online;
-}
-#endif
-
-
-/*}-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
#endif /* _LINUX_COMPAT_H */
_
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [patch 20/28] drivers/message/fusion/linux_compat.h Removal of old code
@ 2006-09-26 0:14 Moore, Eric
2006-09-26 0:22 ` Jeff Garzik
0 siblings, 1 reply; 5+ messages in thread
From: Moore, Eric @ 2006-09-26 0:14 UTC (permalink / raw)
To: akpm, James.Bottomley; +Cc: linux-scsi, michal.k.k.piotrowski
On Monday, September 25, 2006 5:59 PM, Andrew Morton wrote:
>
> From: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
>
> Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
> Acked-by: "Moore, Eric Dean" <Eric.Moore@lsil.com>
> Cc: James Bottomley <James.Bottomley@steeleye.com>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> ---
>
> drivers/message/fusion/linux_compat.h | 9 ---------
> 1 file changed, 9 deletions(-)
>
> diff -puN
> drivers/message/fusion/linux_compat.h~drivers-message-fusion-l
> inux_compath-removal-of-old-code drivers/message/fusion/linux_compat.h
> ---
> a/drivers/message/fusion/linux_compat.h~drivers-message-fusion
> -linux_compath-removal-of-old-code
> +++ a/drivers/message/fusion/linux_compat.h
> @@ -6,13 +6,4 @@
> #include <linux/version.h>
> #include <scsi/scsi_device.h>
>
> -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,6))
> -static int inline scsi_device_online(struct scsi_device *sdev)
> -{
> - return sdev->online;
> -}
> -#endif
> -
> -
> -/*}-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> -=-=-=-=-=-=-=-=*/
> #endif /* _LINUX_COMPAT_H */
> _
>
James, pls apply.
However pls don't remove this file from the tree.
Eric
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch 20/28] drivers/message/fusion/linux_compat.h Removal of old code
2006-09-26 0:14 Moore, Eric
@ 2006-09-26 0:22 ` Jeff Garzik
0 siblings, 0 replies; 5+ messages in thread
From: Jeff Garzik @ 2006-09-26 0:22 UTC (permalink / raw)
To: Moore, Eric; +Cc: akpm, James.Bottomley, linux-scsi, michal.k.k.piotrowski
Moore, Eric wrote:
> However pls don't remove this file from the tree.
Why? That's against the general kernel policy...
As an example, when maintaining libata for 2.4 kernels as well as 2.6
kernels, I had a libata-compat.h file, and always just patched the
include into the kernel source at the same time I patched in the
libata-compat.h contents.
Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [patch 20/28] drivers/message/fusion/linux_compat.h Removal of old code
@ 2006-09-26 18:25 Moore, Eric
2006-09-26 18:30 ` Jeff Garzik
0 siblings, 1 reply; 5+ messages in thread
From: Moore, Eric @ 2006-09-26 18:25 UTC (permalink / raw)
To: Jeff Garzik; +Cc: akpm, James.Bottomley, linux-scsi, michal.k.k.piotrowski
Jeff Garzik wrote:
>
> Why? That's against the general kernel policy...
>
> As an example, when maintaining libata for 2.4 kernels as well as 2.6
> kernels, I had a libata-compat.h file, and always just patched the
> include into the kernel source at the same time I patched in the
> libata-compat.h contents.
>
This is merely a request is all.
Supporting Red Hat and SuSE distro's is why I ask.
I don't care about 2.4 kernel. My compatibility
changes I support occur between 2.6 kernels releases,
such example is 2.6.17 and 2.6.18; e.g. SLES10 versus RHEL5
with sas transport changes. And they pull from upstream,
and I support them with interim bug fix's.
Eric
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [patch 20/28] drivers/message/fusion/linux_compat.h Removal of old code
2006-09-26 18:25 [patch 20/28] drivers/message/fusion/linux_compat.h Removal of old code Moore, Eric
@ 2006-09-26 18:30 ` Jeff Garzik
0 siblings, 0 replies; 5+ messages in thread
From: Jeff Garzik @ 2006-09-26 18:30 UTC (permalink / raw)
To: Moore, Eric; +Cc: akpm, James.Bottomley, linux-scsi, michal.k.k.piotrowski
Moore, Eric wrote:
> Jeff Garzik wrote:
>
>> Why? That's against the general kernel policy...
>>
>> As an example, when maintaining libata for 2.4 kernels as well as 2.6
>> kernels, I had a libata-compat.h file, and always just patched the
>> include into the kernel source at the same time I patched in the
>> libata-compat.h contents.
>>
>
> This is merely a request is all.
> Supporting Red Hat and SuSE distro's is why I ask.
> I don't care about 2.4 kernel. My compatibility
> changes I support occur between 2.6 kernels releases,
> such example is 2.6.17 and 2.6.18; e.g. SLES10 versus RHEL5
> with sas transport changes. And they pull from upstream,
> and I support them with interim bug fix's.
I'm not talking specifically about the 2.4 kernel, but making a
comparison between upstream, and non-upstream back compat. My example
is clearly the same as your current situation.
I think most kernel devs would NAK keeping around an empty kernel header
just for the sake of forked distro kernels.
Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-09-26 18:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-26 18:25 [patch 20/28] drivers/message/fusion/linux_compat.h Removal of old code Moore, Eric
2006-09-26 18:30 ` Jeff Garzik
-- strict thread matches above, loose matches on Subject: below --
2006-09-26 0:14 Moore, Eric
2006-09-26 0:22 ` Jeff Garzik
2006-09-25 23:59 akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox