public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] kernel/resource.c: __check_region(): remove pointless __deprecated
@ 2005-11-20 23:32 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-11-20 23:32 UTC (permalink / raw)
  To: linux-kernel

If a __deprecated is desired it should go to the prototype in the header 
(where it currently isn't).

But at this place it's pointless.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.15-rc1-mm2-full/kernel/resource.c.old	2005-11-20 20:46:17.000000000 +0100
+++ linux-2.6.15-rc1-mm2-full/kernel/resource.c	2005-11-20 20:46:32.000000000 +0100
@@ -466,7 +466,7 @@
 
 EXPORT_SYMBOL(__request_region);
 
-int __deprecated __check_region(struct resource *parent, unsigned long start, unsigned long n)
+int __check_region(struct resource *parent, unsigned long start, unsigned long n)
 {
 	struct resource * res;
 


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

* [2.6 patch] kernel/resource.c: __check_region(): remove pointless __deprecated
@ 2005-12-13  2:29 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-12-13  2:29 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

If a __deprecated is desired it should go to the prototype in the header 
(where it currently isn't).

But at this place it's pointless.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 21 Nov 2005

--- linux-2.6.15-rc1-mm2-full/kernel/resource.c.old	2005-11-20 20:46:17.000000000 +0100
+++ linux-2.6.15-rc1-mm2-full/kernel/resource.c	2005-11-20 20:46:32.000000000 +0100
@@ -466,7 +466,7 @@
 
 EXPORT_SYMBOL(__request_region);
 
-int __deprecated __check_region(struct resource *parent, unsigned long start, unsigned long n)
+int __check_region(struct resource *parent, unsigned long start, unsigned long n)
 {
 	struct resource * res;
 


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

end of thread, other threads:[~2005-12-13  2:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-13  2:29 [2.6 patch] kernel/resource.c: __check_region(): remove pointless __deprecated Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-11-20 23:32 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox