Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756744AbYG3WM3 (ORCPT ); Wed, 30 Jul 2008 18:12:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751929AbYG3WMU (ORCPT ); Wed, 30 Jul 2008 18:12:20 -0400 Received: from ns.suse.de ([195.135.220.2]:58377 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751496AbYG3WMT (ORCPT ); Wed, 30 Jul 2008 18:12:19 -0400 Date: Wed, 30 Jul 2008 15:04:32 -0700 From: Greg KH To: Kay Sievers Cc: Martin Schwidefsky , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, lf_kernel_messages@lists.linux-foundation.org, Andrew Morton , Michael Holzheu , Gerrit Huizenga , Randy Dunlap , Jan Kara , Pavel Machek , Sam Ravnborg , Joe Perches , Jochen =?iso-8859-1?B?Vm/f?= , Kunai Takashi , Tim Bird Subject: Re: [patch 1/3] kmsg: Kernel message catalog macros. Message-ID: <20080730220432.GA24800@suse.de> References: <20080730165656.118280544@de.ibm.com> <20080730171156.824640459@de.ibm.com> <3ae72650807301502h3e54e80yb405af7192048b89@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3ae72650807301502h3e54e80yb405af7192048b89@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 740 Lines: 21 On Thu, Jul 31, 2008 at 12:02:04AM +0200, Kay Sievers wrote: > On Wed, Jul 30, 2008 at 18:56, Martin Schwidefsky > wrote: > > > +#define kmsg_dev_alert(id, dev, format, arg...) \ > > + printk(__KMSG_CHECK(ALERT, id) KMSG_COMPONENT \ > > + ": %s: " format, (dev)->bus_id , ## arg) > > Care to use dev_name(), bus_id will be removed soon. Hm, just use dev_printk() instead, it handles all of these kinds of changes automatically. thanks, greg k-h -- 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/