From patchwork Mon Mar 8 18:23:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Meelis Roos X-Patchwork-Id: 47124 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 74D78B7D03 for ; Tue, 9 Mar 2010 05:51:22 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755321Ab0CHSu4 (ORCPT ); Mon, 8 Mar 2010 13:50:56 -0500 Received: from smtp1.it.da.ut.ee ([193.40.5.66]:42859 "EHLO smtp1.it.da.ut.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755086Ab0CHSus (ORCPT ); Mon, 8 Mar 2010 13:50:48 -0500 X-Greylist: delayed 1645 seconds by postgrey-1.27 at vger.kernel.org; Mon, 08 Mar 2010 13:50:47 EST Received: from math.ut.ee (math.ut.ee [193.40.36.2]) by smtp1.it.da.ut.ee (Postfix) with ESMTP id 24AF36E4E93; Mon, 8 Mar 2010 20:23:21 +0200 (EET) Received: by math.ut.ee (Postfix, from userid 1014) id 17577DAF8F; Mon, 8 Mar 2010 20:23:21 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by math.ut.ee (Postfix) with ESMTP id 0C65DDAF8E; Mon, 8 Mar 2010 20:23:21 +0200 (EET) Date: Mon, 8 Mar 2010 20:23:20 +0200 (EET) From: Meelis Roos To: linux-scsi@vger.kernel.org, sparclinux@vger.kernel.org Subject: [PATCH] Remove slash in QlogicPTI irq name Message-ID: User-Agent: Alpine 1.00 (SOC 882 2007-12-20) MIME-Version: 1.0 Sender: sparclinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: sparclinux@vger.kernel.org qlogicpti driver registers its irq with a name containing slash. This results in [ 71.049735] WARNING: at fs/proc/generic.c:316 __xlate_proc_name+0xa8/0xb8() [ 71.132815] name 'Qlogic/PTI' because proc_mkdir with the name of the irq fails. Fix it by just removing the slash from irq name. Discovered and tested on real hardware (Sun Ultra 1). Signed-off-by: Meelis Roos diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c index fa34b92..1b82170 100644 --- a/drivers/scsi/qlogicpti.c +++ b/drivers/scsi/qlogicpti.c @@ -738,7 +738,7 @@ static int __devinit qpti_register_irq(struct qlogicpti *qpti) * sanely maintain. */ if (request_irq(qpti->irq, qpti_intr, - IRQF_SHARED, "Qlogic/PTI", qpti)) + IRQF_SHARED, "QlogicPTI", qpti)) goto fail; printk("qlogicpti%d: IRQ %d ", qpti->qpti_id, qpti->irq);