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]
Message-Id: <1253642915.30020.63.camel@Joe-Laptop.home>
Date:	Tue, 22 Sep 2009 11:08:35 -0700
From:	Joe Perches <joe@...ches.com>
To:	Sage Weil <sage@...dream.net>
Cc:	linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
	akpm@...ux-foundation.org, yehuda@...dream.net
Subject: Re: [PATCH 03/21] ceph: client types

On Tue, 2009-09-22 at 10:38 -0700, Sage Weil wrote:
> diff --git a/fs/ceph/ceph_debug.h b/fs/ceph/ceph_debug.h
> new file mode 100644
> index 0000000..be9b8bc
> --- /dev/null
> +++ b/fs/ceph/ceph_debug.h
> +# if defined(DEBUG) || defined(CONFIG_DYNAMIC_DEBUG)
> +extern const char *ceph_file_part(const char *s, int len);
> +#  define dout(fmt, ...)						\
> +	pr_debug(" %12.12s:%-4d : " fmt,				\
> +		 ceph_file_part(__FILE__, sizeof(__FILE__)),		\
> +		 __LINE__, ##__VA_ARGS__)

perhaps:

#define pr_fmt(fmt) "%s:%d" fmt, __FILE__, __LINE__


--
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