From patchwork Mon Jun 5 14:45:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13267423 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D434DC7EE24 for ; Mon, 5 Jun 2023 14:45:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234480AbjFEOpc (ORCPT ); Mon, 5 Jun 2023 10:45:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232533AbjFEOp3 (ORCPT ); Mon, 5 Jun 2023 10:45:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA00310A; Mon, 5 Jun 2023 07:45:26 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 64639625F7; Mon, 5 Jun 2023 14:45:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D32C2C433AE; Mon, 5 Jun 2023 14:45:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685976325; bh=ua1Afonw01rPeQNE3BPvhZ+/s+M84W2XPIeCqh6o1dM=; h=From:To:Cc:Subject:Date:From; b=QLgpQSKVsI7VXmAWGBYC0EcbFO9HZyDDgMGXWx4oDk0QxPfpnfJLmft8/z87ZPMJU kPAdbXxqNgqdFbMdlFCmdCU5nQbNGY0sn7dggJnSGYOEkoczjSxKQqubLJEshneRvu d45VXxB8vIrtRdVUqP/nMQO0sPDQazVjJNfV9diQ1a8xsJvEyUDD3YtExhjPDyWRCJ Q4AJ3k4m8HlITY4j02f0k0s/8x5Y6zvSlZMaVUv3BamBchkfivSWhlg1Ch72JSjUGb bZyEAsFxBgNq1BoLl7n8CJIuv8Xs2DwFdY3yx7azzdbLBnxdc7F4YrkLAkFteC89G9 PVgm0mdJ7bt1Q== From: Arnd Bergmann To: Giovanni Cabiddu , Herbert Xu , "David S. Miller" , Damian Muszynski Cc: Arnd Bergmann , qat-linux@intel.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] crypto: qat - fix adf_dbgfs_exit() typo Date: Mon, 5 Jun 2023 16:45:02 +0200 Message-Id: <20230605144519.1225211-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Arnd Bergmann The stub function uses a different name from the normal one: drivers/crypto/intel/qat/qat_c3xxx/adf_drv.c:69:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration] drivers/crypto/intel/qat/qat_dh895xcc/adf_drv.c:69:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration] drivers/crypto/intel/qat/qat_c62xvf/adf_drv.c:68:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration] drivers/crypto/intel/qat/qat_c62x/adf_drv.c:69:9: error: implicit declaration of function 'adf_dbgfs_exit'; did you mean 'adf_dbgfs_init'? [-Werror=implicit-function-declaration] Rename the function to match the normal one. Fixes: 9260db6640a61 ("crypto: qat - move dbgfs init to separate file") Signed-off-by: Arnd Bergmann --- drivers/crypto/intel/qat/qat_common/adf_dbgfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/intel/qat/qat_common/adf_dbgfs.h b/drivers/crypto/intel/qat/qat_common/adf_dbgfs.h index 1d64ad1a00374..e0cb2c2a2ed0b 100644 --- a/drivers/crypto/intel/qat/qat_common/adf_dbgfs.h +++ b/drivers/crypto/intel/qat/qat_common/adf_dbgfs.h @@ -22,7 +22,7 @@ static inline void adf_dbgfs_rm(struct adf_accel_dev *accel_dev) { } -static inline void adf_dbgfs_cleanup(struct adf_accel_dev *accel_dev) +static inline void adf_dbgfs_exit(struct adf_accel_dev *accel_dev) { } #endif