lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 15 May 2009 10:25:11 -0300
From:	Mauro Carvalho Chehab <mchehab@...hat.com>
To:	Borislav Petkov <borislav.petkov@....com>
Cc:	<akpm@...ux-foundation.org>, <greg@...ah.com>, <mingo@...e.hu>,
	<norsk5@...oo.com>, <tglx@...utronix.de>, <hpa@...or.com>,
	<aris@...hat.com>, edt@....ca, <linux-kernel@...r.kernel.org>,
	Borislav Petkov <borislav.petkov@....com>
Subject: Re: [PATCH 02/22] edac: fold __func__ into edac_debug_printk

Em Fri, 15 May 2009 14:22:13 +0200
Borislav Petkov <borislav.petkov@....com> escreveu:

> This shortens debugfX() calls a bit.
> 
> CC: Doug Thompson <norsk5@...oo.com>
> Signed-off-by: Borislav Petkov <borislav.petkov@....com>

Reviewed-by: Mauro Carvalho Chehab <mchehab@...hat.com>

> ---
>  drivers/edac/edac_core.h |    9 +++++----
>  1 files changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/edac/edac_core.h b/drivers/edac/edac_core.h
> index 6ad95c8..48d3b14 100644
> --- a/drivers/edac/edac_core.h
> +++ b/drivers/edac/edac_core.h
> @@ -76,10 +76,11 @@
>  extern int edac_debug_level;
>  
>  #ifndef CONFIG_EDAC_DEBUG_VERBOSE
> -#define edac_debug_printk(level, fmt, arg...)                            \
> -	do {                                                             \
> -		if (level <= edac_debug_level)                           \
> -			edac_printk(KERN_DEBUG, EDAC_DEBUG, fmt, ##arg); \
> +#define edac_debug_printk(level, fmt, arg...)                           \
> +	do {                                                            \
> +		if (level <= edac_debug_level)                          \
> +			edac_printk(KERN_DEBUG, EDAC_DEBUG,		\
> +				    "%s: " fmt, __func__, ##arg);	\
>  	} while (0)
>  #else  /* CONFIG_EDAC_DEBUG_VERBOSE */
>  #define edac_debug_printk(level, fmt, arg...)                            \


-- 

Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ