From patchwork Fri Dec 22 20:18:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 10131089 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2525D6038F for ; Fri, 22 Dec 2017 20:18:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18B8A2A123 for ; Fri, 22 Dec 2017 20:18:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D9732A136; Fri, 22 Dec 2017 20:18:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BCB4C2A123 for ; Fri, 22 Dec 2017 20:18:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756322AbdLVUSr (ORCPT ); Fri, 22 Dec 2017 15:18:47 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:37410 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756679AbdLVUSm (ORCPT ); Fri, 22 Dec 2017 15:18:42 -0500 Received: by mail-wm0-f65.google.com with SMTP id f140so23562428wmd.2 for ; Fri, 22 Dec 2017 12:18:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:in-reply-to :references; bh=7UjBEFXruNALLjJkwT4wlWwZYMP5Cnddem3LcTxCSDI=; b=rR8id8vsKf1YWHmCB5qGsTsyGx5/6xXdfvgRqC/ny8ia/mqwN0H/tFfFJ6FgOcspcM Jwa6kUuf3GyIRleKndzyOWIHbmYF12Wb44T2pf1fGg606AtTl4N/6GbRRC+R0em9blbU 8nc1Kd3RRiuKyyhW20UWQ4QpPtgOzX0x4NTrE7PVGAECyWjlxkPKJl8/sT/aZkt0cd/u ddCEfoc7Xv3qJPZ/s/FfUYxRVEMO5It0UDg0sT+0B5h5A2+262sxmySxcII2HyJbdIpM XWCr8pPXFJe66YTmAA81A1U1PD4UVnZ45JNitr9GebzKtKspQY8BHCW6obUGazJhyDgf +eWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=7UjBEFXruNALLjJkwT4wlWwZYMP5Cnddem3LcTxCSDI=; b=CTAfuhTIcp/6fC/2oypVo6WsZL9hvsTe/KqNSP/ZuFBdGrHd2lwX826BZX3zsDrGRA C6WqKvgrVj+o8bE53zo/V5mgE+GojpqOOjgxjTmk+6EIlUrM5/zbGV3cn5jxdMi1RWGP yiFRq40Ov2q6HaCAdfDGS3Zv2fjoRs68dVxrH16X/Lp0MbZz393UneypsQ9ysbx3/ihR G3kDEmYyzHvx6PtCNwGqpH9UjL6Xwv4r9L6OIMP+K5SY37bva+mJTf3+IA91H0iEyxsQ onoj+4iVRyj0RktaNmqtmw+fChtFCBvETDmIcijQUtP1I8a4p7tJjtmFIDECdg4FYuXX 689A== X-Gm-Message-State: AKGB3mLP3XrNHEAxh33R+LJIER/iPiaZ1k7qzbIzh8Q73PQ7+q42YjB7 RflFkF2u/4NI/ABw6rvugTJzbtcT X-Google-Smtp-Source: ACJfBovoeduaCqsv5R7dB++/X0sR4NZ4P2+d5T4pos4Wy31xC4GQZb3Oe2yZd5EByZxmjRb10LF25A== X-Received: by 10.28.236.6 with SMTP id k6mr13120856wmh.95.1513973921271; Fri, 22 Dec 2017 12:18:41 -0800 (PST) Received: from debian64.daheim (p5B0D71BC.dip0.t-ipconnect.de. [91.13.113.188]) by smtp.gmail.com with ESMTPSA id e20sm16200333wre.6.2017.12.22.12.18.39 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Dec 2017 12:18:39 -0800 (PST) Received: from chuck by debian64.daheim with local (Exim 4.90_RC4) (envelope-from ) id 1eSTmA-0005k3-K5 for linux-crypto@vger.kernel.org; Fri, 22 Dec 2017 21:18:38 +0100 From: Christian Lamparter To: linux-crypto@vger.kernel.org Subject: [PATCH v1 3/4] crypto: crypto4xx - fix missing irq devname Date: Fri, 22 Dec 2017 21:18:37 +0100 Message-Id: <00179ef6e3c4e5db6258cd6e273e4063b8437d18.1513908140.git.chunkeey@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <4baa099377d73ea99c7802a9685815b32e8bf119.1513908140.git.chunkeey@gmail.com> References: <4baa099377d73ea99c7802a9685815b32e8bf119.1513908140.git.chunkeey@gmail.com> In-Reply-To: <1e932b627e79aa2c70e2c7278e4ac930303faa3f.1513908140.git.chunkeey@gmail.com> References: <4baa099377d73ea99c7802a9685815b32e8bf119.1513908140.git.chunkeey@gmail.com> <1e932b627e79aa2c70e2c7278e4ac930303faa3f.1513908140.git.chunkeey@gmail.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP crypto4xx_device's name variable is not set to anything. The common devname for request_irq seems to be the module name. This will fix the seemingly anonymous interrupt entry in /proc/interrupts for crypto4xx. Signed-off-by: Christian Lamparter --- drivers/crypto/amcc/crypto4xx_core.c | 2 +- drivers/crypto/amcc/crypto4xx_core.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c index fde0136029f1..4b03318775ac 100644 --- a/drivers/crypto/amcc/crypto4xx_core.c +++ b/drivers/crypto/amcc/crypto4xx_core.c @@ -1370,7 +1370,7 @@ static int crypto4xx_probe(struct platform_device *ofdev) rc = request_irq(core_dev->irq, is_revb ? crypto4xx_ce_interrupt_handler_revb : crypto4xx_ce_interrupt_handler, 0, - core_dev->dev->name, dev); + KBUILD_MODNAME, dev); if (rc) goto err_request_irq; diff --git a/drivers/crypto/amcc/crypto4xx_core.h b/drivers/crypto/amcc/crypto4xx_core.h index 013d9992a44e..61a02a4c5794 100644 --- a/drivers/crypto/amcc/crypto4xx_core.h +++ b/drivers/crypto/amcc/crypto4xx_core.h @@ -82,7 +82,6 @@ struct pd_uinfo { struct crypto4xx_device { struct crypto4xx_core_device *core_dev; - char *name; void __iomem *ce_base; void __iomem *trng_base;