From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [net PATCH v3 1/1] drivers: net : cpsw: pass proper device name while requesting irq Date: Sun, 22 Dec 2013 18:22:43 -0500 (EST) Message-ID: <20131222.182243.37050518449066904.davem@davemloft.net> References: <1387382630-3683-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 To: mugunthanvnm@ti.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:53204 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756181Ab3LVXWo (ORCPT ); Sun, 22 Dec 2013 18:22:44 -0500 In-Reply-To: <1387382630-3683-1-git-send-email-mugunthanvnm@ti.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Mugunthan V N Date: Wed, 18 Dec 2013 21:33:50 +0530 > During checking the interrupts with "cat /proc/interrupts", it is showing > device name as (null), this change was done with commit id aa1a15e2d where > request_irq is changed to devm_request_irq also changing the irq name from > platform device name to net device name, but the net device is not > registered at this point with the network frame work, so devm_request_irq > is called with device name as NULL, by which it is showed as "(null)" in > "cat /proc/interrupts". So this patch changes back irq name to platform > device name itself in devm_request_irq so that the device name shows as > below. ... > Signed-off-by: Mugunthan V N This looks a lot better, thanks.