Re: [patch, -git] drivers/media build fix for modular builds

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mike Galbraith <efault@...>
Cc: Ingo Molnar <mingo@...>, David Miller <davem@...>, <mchehab@...>, <torvalds@...>, <linux-dvb-maintainer@...>, <video4linux-list@...>, <linux-kernel@...>, <sfr@...>, Sam Ravnborg <sam@...>
Date: Wednesday, April 30, 2008 - 7:40 am

On Wed, 30 Apr 2008 11:20:31 +0200 Mike Galbraith <efault@gmx.de> wrote:


Does this make it feel better?

--- a/drivers/media/video/tuner-core.c~a
+++ a/drivers/media/video/tuner-core.c
@@ -40,11 +40,11 @@
 	typeof(&FUNCTION) __a = symbol_request(FUNCTION); \
 	if (__a) { \
 		__r = (int) __a(ARGS); \
+		symbol_put(FUNCTION); \
 	} else { \
 		printk(KERN_ERR "TUNER: Unable to find " \
 				"symbol "#FUNCTION"()\n"); \
 	} \
-	symbol_put(FUNCTION); \
 	__r; \
 })
 
_

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PATCHES] V4L/DVB updates and fixes for 2.6.26, Mauro Carvalho Chehab, (Tue Apr 29, 5:50 pm)
Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB updates and f..., Patrick Boettcher, (Wed Apr 30, 4:02 am)
Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB updates and f..., Mauro Carvalho Chehab, (Wed Apr 30, 3:03 pm)
Re: [patch, -git] drivers/media build fix for modular builds, Andrew Morton, (Wed Apr 30, 7:40 am)
Re: [patch, -git] drivers/media build fix for modular builds, Mauro Carvalho Chehab, (Wed Apr 30, 11:25 am)
Re: [patch, -git] drivers/media build fix for modular builds, Mike Galbraith, (Wed Apr 30, 11:48 am)
Re: [patch, -git] drivers/media build fix for modular builds, Mauro Carvalho Chehab, (Wed Apr 30, 12:12 pm)
Re: [patch, -git] drivers/media build fix for modular builds, Mike Galbraith, (Wed Apr 30, 12:31 pm)
Re: [patch, -git] drivers/media build fix for modular builds, Mauro Carvalho Chehab, (Wed Apr 30, 5:35 pm)
Re: [v4l-dvb-maintainer] [patch, -git] drivers/media build f..., Mauro Carvalho Chehab, (Wed Apr 30, 11:48 am)
Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB updates and f..., Mauro Carvalho Chehab, (Tue Apr 29, 8:00 pm)
Re: [GIT PATCHES] V4L/DVB updates and fixes for 2.6.26, Linus Torvalds, (Tue Apr 29, 5:59 pm)