From mboxrd@z Thu Jan 1 00:00:00 1970 From: Finn Thain Subject: Re: [PATCH] mac8390: fix pr_info() calls and change return code Date: Fri, 16 Apr 2010 23:57:34 +1000 (EST) Message-ID: References: <20100415.200113.215578006.davem@davemloft.net> <1271392454.2298.37.camel@Joe-Laptop.home> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: David Miller , p_gortmaker@yahoo.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-m68k@vger.kernel.org To: Joe Perches Return-path: In-Reply-To: <1271392454.2298.37.camel@Joe-Laptop.home> Sender: linux-m68k-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Thu, 15 Apr 2010, Joe Perches wrote: > ...Why is it better to use -EBUSY? Nubus slots are geographically addressed and their irqs are equally inflexible. -EAGAIN is misleading because retrying will not help fix whatever bug caused the irq to unavailable. > ...It'd be better to prefix this with the driver name > or use something like netdev_dbg with #define DEBUG > otherwise it's "huh? what device emits this message?" > when reading the logs. > > Something like: > printk(KERN_DEBUG pr_fmt("reset not supported\n")); Thanks for the suggestion. I'll resend again. > ...unnecessary conversion. I guess some prefer consistency, some prefer symmetry. Finn