login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
October
»
31
Re: [PATCH] driver core: Use 'ret' variable in unregister_dynamic_debug_module
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Jason Baron
Subject:
Re: [PATCH] driver core: Use 'ret' variable in unregister_dynamic_debug_module
Date: Friday, October 31, 2008 - 1:40 pm
On Thu, Oct 30, 2008 at 10:44:39PM +0100, Johann Felix Soden wrote:
quoted text
> From: Johann Felix Soden <johfel@users.sourceforge.net> > > The 'ret' variable is assigned, but not used in the return statement. Fix this. > > Signed-off-by: Johann Felix Soden <johfel@users.sourceforge.net> > CC: Jason Baron <jbaron@redhat.com> > --- > lib/dynamic_printk.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/lib/dynamic_printk.c b/lib/dynamic_printk.c > index d83660f..d0fd0e4 100644 > --- a/lib/dynamic_printk.c > +++ b/lib/dynamic_printk.c > @@ -135,7 +135,7 @@ int unregister_dynamic_debug_module(char *mod_name) > nr_entries--; > out: > up(&debug_list_mutex); > - return 0; > + return ret; > } > EXPORT_SYMBOL_GPL(unregister_dynamic_debug_module); >
looks good to me. Acked-by: Jason Baron <jbaron@redhat.com> thanks, -Jason --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] driver core: Use 'ret' variable in unregister_dyna ...
, Johann Felix Soden
, (Thu Oct 30, 2:44 pm)
Re: [PATCH] driver core: Use 'ret' variable in unregister_ ...
, Jason Baron
, (Fri Oct 31, 1:40 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mathieu Desnoyers
[PATCH 01/10] local_t : architecture independant extension
monstr
[PATCH 46/56] microblaze_v2: headers files entry.h current.h mman.h registers.h se...
Ingo Molnar
Re: 2.6.20-rc6-mm3
Mathieu Desnoyers
Re: Linux 2.6.25-rc2
Jan Engelhardt
Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)
git
:
Andy Parkins
git-fetch fails with error code 128
Eli Zaretskii
Re: Switching from CVS to GIT
Johannes Sixt
Re: [PATCH v2 04/13] Teach rebase interactive the mark command
Dan Chokola
Re: how do you "force a pull"?
Steffen Prohaska
Re: [msysGit] Re: [PATCH 12/12] [TODO] setup: bring changes from 4msysgit/next to ...
git-commits-head
:
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
MIPS: SMTC: Fix lockup in smtc_distribute_timer
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
Linux Kernel Mailing List
[ARM] 5562/2: at91: add gpio button support for at91sam9g20ek
linux-netdev
:
jamal
[net-next-2.6 PATCH 1/7] xfrm: introduce basic mark infrastructure
jamal
[net-next-2.6 PATCH 0/7] xfrm by MARK
Grant Coady
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Jeff Garzik
Re: [PATCH 1/5] sky2: phy setup changes
openbsd-misc
:
Ashraf Cotu
Je sur comptable a la banque BCB je vais virée $6.million a la etranger
ropers
Re: Real men don't attack straw men
Pawlowski Marcin Piotr
Re: current on HP EliteBook 8530w
Tony Abernethy
Re: The Atheros story in much fewer words
S H
Re: Short thank you and gratitude note for constant OpenBSD improvements/evolutions!
Colocation donated by:
Syndicate