All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch] target: remove needless include of version.h
@ 2011-08-19  6:53 WANG Cong
  2011-08-19  7:07 ` Jesper Juhl
  0 siblings, 1 reply; 5+ messages in thread
From: WANG Cong @ 2011-08-19  6:53 UTC (permalink / raw)
  To: linux-kernel
  Cc: akpm, WANG Cong, Nicholas A. Bellinger, Andy Grover,
	James Bottomley, Christoph Hellwig, Kiran Patil, Yi Zou,
	Dan Carpenter, linux-scsi, target-devel

They don't version.h to be compiled. Compiling tested.

Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: "Nicholas A. Bellinger" <nab@linux-iscsi.org>

---
diff --git a/drivers/target/target_core_alua.c b/drivers/target/target_core_alua.c
index 98c98a3..007c6c2 100644
--- a/drivers/target/target_core_alua.c
+++ b/drivers/target/target_core_alua.c
@@ -24,7 +24,6 @@
  *
  ******************************************************************************/
 
-#include <linux/version.h>
 #include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <linux/configfs.h>
diff --git a/drivers/target/target_core_configfs.c b/drivers/target/target_core_configfs.c
index b2575d8..f37e2b9 100644
--- a/drivers/target/target_core_configfs.c
+++ b/drivers/target/target_core_configfs.c
@@ -23,7 +23,6 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
-#include <linux/version.h>
 #include <generated/utsrelease.h>
 #include <linux/utsname.h>
 #include <linux/init.h>
diff --git a/drivers/target/target_core_fabric_configfs.c b/drivers/target/target_core_fabric_configfs.c
index f165469..3ba7512 100644
--- a/drivers/target/target_core_fabric_configfs.c
+++ b/drivers/target/target_core_fabric_configfs.c
@@ -22,7 +22,6 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
-#include <linux/version.h>
 #include <generated/utsrelease.h>
 #include <linux/utsname.h>
 #include <linux/init.h>
diff --git a/drivers/target/target_core_file.c b/drivers/target/target_core_file.c
index bc1b336..99c9db0 100644
--- a/drivers/target/target_core_file.c
+++ b/drivers/target/target_core_file.c
@@ -26,7 +26,6 @@
  *
  ******************************************************************************/
 
-#include <linux/version.h>
 #include <linux/string.h>
 #include <linux/parser.h>
 #include <linux/timer.h>
diff --git a/drivers/target/target_core_iblock.c b/drivers/target/target_core_iblock.c
index 7e12341..7f0cc53 100644
--- a/drivers/target/target_core_iblock.c
+++ b/drivers/target/target_core_iblock.c
@@ -27,7 +27,6 @@
  *
  ******************************************************************************/
 
-#include <linux/version.h>
 #include <linux/string.h>
 #include <linux/parser.h>
 #include <linux/timer.h>
diff --git a/drivers/target/target_core_pr.c b/drivers/target/target_core_pr.c
index 1c1b849..c05d93b 100644
--- a/drivers/target/target_core_pr.c
+++ b/drivers/target/target_core_pr.c
@@ -25,7 +25,6 @@
  *
  ******************************************************************************/
 
-#include <linux/version.h>
 #include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <linux/list.h>
diff --git a/drivers/target/target_core_pscsi.c b/drivers/target/target_core_pscsi.c
index 2b7b0da..77d7258 100644
--- a/drivers/target/target_core_pscsi.c
+++ b/drivers/target/target_core_pscsi.c
@@ -26,7 +26,6 @@
  *
  ******************************************************************************/
 
-#include <linux/version.h>
 #include <linux/string.h>
 #include <linux/parser.h>
 #include <linux/timer.h>
diff --git a/drivers/target/target_core_rd.c b/drivers/target/target_core_rd.c
index 3dd81d2..b43cc405 100644
--- a/drivers/target/target_core_rd.c
+++ b/drivers/target/target_core_rd.c
@@ -27,7 +27,6 @@
  *
  ******************************************************************************/
 
-#include <linux/version.h>
 #include <linux/string.h>
 #include <linux/parser.h>
 #include <linux/timer.h>
diff --git a/drivers/target/target_core_stat.c b/drivers/target/target_core_stat.c
index a8d6e1d..874152a 100644
--- a/drivers/target/target_core_stat.c
+++ b/drivers/target/target_core_stat.c
@@ -32,7 +32,6 @@
 #include <linux/delay.h>
 #include <linux/timer.h>
 #include <linux/string.h>
-#include <linux/version.h>
 #include <generated/utsrelease.h>
 #include <linux/utsname.h>
 #include <linux/proc_fs.h>
diff --git a/drivers/target/target_core_tmr.c b/drivers/target/target_core_tmr.c
index 27d4925..662473c 100644
--- a/drivers/target/target_core_tmr.c
+++ b/drivers/target/target_core_tmr.c
@@ -24,7 +24,6 @@
  *
  ******************************************************************************/
 
-#include <linux/version.h>
 #include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <linux/list.h>
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index 8976032..3c55ce5 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -26,7 +26,6 @@
  *
  ******************************************************************************/
 
-#include <linux/version.h>
 #include <linux/net.h>
 #include <linux/delay.h>
 #include <linux/string.h>
diff --git a/drivers/target/target_core_ua.c b/drivers/target/target_core_ua.c
index 31e3c65..50a480d 100644
--- a/drivers/target/target_core_ua.c
+++ b/drivers/target/target_core_ua.c
@@ -24,7 +24,6 @@
  *
  ******************************************************************************/
 
-#include <linux/version.h>
 #include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <scsi/scsi.h>
diff --git a/drivers/target/tcm_fc/tfc_cmd.c b/drivers/target/tcm_fc/tfc_cmd.c
index 5654dc2..3633f69 100644
--- a/drivers/target/tcm_fc/tfc_cmd.c
+++ b/drivers/target/tcm_fc/tfc_cmd.c
@@ -19,7 +19,6 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
-#include <linux/version.h>
 #include <generated/utsrelease.h>
 #include <linux/utsname.h>
 #include <linux/init.h>
diff --git a/drivers/target/tcm_fc/tfc_conf.c b/drivers/target/tcm_fc/tfc_conf.c
index 8781d1e..d526896 100644
--- a/drivers/target/tcm_fc/tfc_conf.c
+++ b/drivers/target/tcm_fc/tfc_conf.c
@@ -23,7 +23,6 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
-#include <linux/version.h>
 #include <generated/utsrelease.h>
 #include <linux/utsname.h>
 #include <linux/init.h>
diff --git a/drivers/target/tcm_fc/tfc_io.c b/drivers/target/tcm_fc/tfc_io.c
index c37f4cd..ea0e7af 100644
--- a/drivers/target/tcm_fc/tfc_io.c
+++ b/drivers/target/tcm_fc/tfc_io.c
@@ -28,7 +28,6 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
-#include <linux/version.h>
 #include <generated/utsrelease.h>
 #include <linux/utsname.h>
 #include <linux/init.h>
diff --git a/drivers/target/tcm_fc/tfc_sess.c b/drivers/target/tcm_fc/tfc_sess.c
index dbb5eae..3269213 100644
--- a/drivers/target/tcm_fc/tfc_sess.c
+++ b/drivers/target/tcm_fc/tfc_sess.c
@@ -19,7 +19,6 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
-#include <linux/version.h>
 #include <generated/utsrelease.h>
 #include <linux/utsname.h>
 #include <linux/init.h>

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

* Re: [Patch] target: remove needless include of version.h
  2011-08-19  6:53 [Patch] target: remove needless include of version.h WANG Cong
@ 2011-08-19  7:07 ` Jesper Juhl
  2011-08-19 10:01     ` Cong Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Jesper Juhl @ 2011-08-19  7:07 UTC (permalink / raw)
  To: WANG Cong
  Cc: linux-kernel, akpm, Nicholas A. Bellinger, Andy Grover,
	James Bottomley, Christoph Hellwig, Kiran Patil, Yi Zou,
	Dan Carpenter, linux-scsi, target-devel

On Fri, 19 Aug 2011, WANG Cong wrote:

> They don't version.h to be compiled. Compiling tested.
> 

Looks more or less identical to the patch I submitted on Aug 1 (and 
earlier) : https://lkml.org/lkml/2011/8/1/309


-- 
Jesper Juhl <jj@chaosbits.net>       http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.

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

* Re: [Patch] target: remove needless include of version.h
  2011-08-19  7:07 ` Jesper Juhl
@ 2011-08-19 10:01     ` Cong Wang
  0 siblings, 0 replies; 5+ messages in thread
From: Cong Wang @ 2011-08-19 10:01 UTC (permalink / raw)
  To: Jesper Juhl
  Cc: linux-kernel, akpm, Nicholas A. Bellinger, Andy Grover,
	James Bottomley, Christoph Hellwig, Kiran Patil, Yi Zou,
	Dan Carpenter, linux-scsi, target-devel

于 2011年08月19日 15:07, Jesper Juhl 写道:
> On Fri, 19 Aug 2011, WANG Cong wrote:
>
>> They don't version.h to be compiled. Compiling tested.
>>
>
> Looks more or less identical to the patch I submitted on Aug 1 (and
> earlier) : https://lkml.org/lkml/2011/8/1/309
>
>

Ah, is your patch merged?

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [Patch] target: remove needless include of version.h
@ 2011-08-19 10:01     ` Cong Wang
  0 siblings, 0 replies; 5+ messages in thread
From: Cong Wang @ 2011-08-19 10:01 UTC (permalink / raw)
  To: Jesper Juhl
  Cc: linux-kernel, akpm, Nicholas A. Bellinger, Andy Grover,
	James Bottomley, Christoph Hellwig, Kiran Patil, Yi Zou,
	Dan Carpenter, linux-scsi, target-devel

于 2011年08月19日 15:07, Jesper Juhl 写道:
> On Fri, 19 Aug 2011, WANG Cong wrote:
>
>> They don't version.h to be compiled. Compiling tested.
>>
>
> Looks more or less identical to the patch I submitted on Aug 1 (and
> earlier) : https://lkml.org/lkml/2011/8/1/309
>
>

Ah, is your patch merged?

Thanks!

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

* Re: [Patch] target: remove needless include of version.h
  2011-08-19 10:01     ` Cong Wang
  (?)
@ 2011-08-19 11:24     ` Jesper Juhl
  -1 siblings, 0 replies; 5+ messages in thread
From: Jesper Juhl @ 2011-08-19 11:24 UTC (permalink / raw)
  To: Cong Wang
  Cc: linux-kernel, akpm, Nicholas A. Bellinger, Andy Grover,
	James Bottomley, Christoph Hellwig, Kiran Patil, Yi Zou,
	Dan Carpenter, linux-scsi, target-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 596 bytes --]

On Fri, 19 Aug 2011, Cong Wang wrote:

> 于 2011年08月19日 15:07, Jesper Juhl 写道:
> > On Fri, 19 Aug 2011, WANG Cong wrote:
> > 
> > > They don't version.h to be compiled. Compiling tested.
> > > 
> > 
> > Looks more or less identical to the patch I submitted on Aug 1 (and
> > earlier) : https://lkml.org/lkml/2011/8/1/309
> > 
> > 
> 
> Ah, is your patch merged?
> 

Not yet. Was planning to re-send it once more next week.

-- 
Jesper Juhl <jj@chaosbits.net>       http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.

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

end of thread, other threads:[~2011-08-19 11:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-19  6:53 [Patch] target: remove needless include of version.h WANG Cong
2011-08-19  7:07 ` Jesper Juhl
2011-08-19 10:01   ` Cong Wang
2011-08-19 10:01     ` Cong Wang
2011-08-19 11:24     ` Jesper Juhl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.