From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 1/1] drivers: net : cpsw: Use netdev_name while requesting irq Date: Fri, 06 Dec 2013 15:46:40 -0500 (EST) Message-ID: <20131206.154640.2274056773488827363.davem@davemloft.net> References: <1386313107-8597-1-git-send-email-mugunthanvnm@ti.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-omap@vger.kernel.org, george.cherian@ti.com To: mugunthanvnm@ti.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:42394 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751894Ab3LFUqm (ORCPT ); Fri, 6 Dec 2013 15:46:42 -0500 In-Reply-To: <1386313107-8597-1-git-send-email-mugunthanvnm@ti.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Mugunthan V N Date: Fri, 6 Dec 2013 12:28:27 +0530 > From: George Cherian > > Use netdev_name while requesting irq so that eth* name is shown > in /proc/interrupts. Previously it was showing device name as (null) > for cpsw interrupts. For using netdev_name register_netdev and then > call devm_request_irq. > > Signed-off-by: George Cherian > Signed-off-by: Mugunthan V N Why is it showing "(null)" as the name, is dev_name() not working properly for this device? The only change you are making is passing netdev_name() instead of dev_name(). dev_name() giving NULL doesn't make much sense to me.