From patchwork Mon Apr 11 16:43:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Chancellor X-Patchwork-Id: 559954 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 B10F9C4332F for ; Mon, 11 Apr 2022 16:43:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348608AbiDKQp7 (ORCPT ); Mon, 11 Apr 2022 12:45:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237921AbiDKQp6 (ORCPT ); Mon, 11 Apr 2022 12:45:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4445936324 for ; Mon, 11 Apr 2022 09:43:44 -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 ams.source.kernel.org (Postfix) with ESMTPS id F38ACB81710 for ; Mon, 11 Apr 2022 16:43:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2FF8C385A9; Mon, 11 Apr 2022 16:43:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649695421; bh=P6kNXqgtIDflfg4Owki6sH0KoN+WyNIeOO/oXvVxNXY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hjMixZcJDSS7zCDeVH5g93ATIMlm/0aJCdn3P1/8DHz7dRxQex90SRWnxT4c7IlKQ iRrB0BcMPGNkCk6qIjnymacz1sEeBHpE33wfP9ABqbgVOSG7I4Ye76bb/z4dQdXefb FtmBjfQVcy5gc5f15Tjnon4OA1MuJSJ99sZZ99kc+zXtUt9oc/5aSW9zDXX3TK7wex vmmxmkBBnYt0v5MOrF2FDSFycHFcsTvP68hbQZyBO/PtTUB7HjY8QNVRYzRMhU4txm T4ODrMOkwWNS8cV9L/Lehfk1eUbWtoCIBvgYRW4S2gZB7czKAuWPZi11uI3ynqJtLZ 5Q96qUL2vciBw== From: Nathan Chancellor To: Greg Kroah-Hartman , Sasha Levin Cc: Felix Kuehling , Alex Deucher , Nick Desaulniers , amd-gfx@lists.freedesktop.org, llvm@lists.linux.dev, stable@vger.kernel.org, Colin Ian King , Randy Dunlap , Nathan Chancellor Subject: [PATCH 5.4 1/2] drm/amdkfd: add missing void argument to function kgd2kfd_init Date: Mon, 11 Apr 2022 09:43:07 -0700 Message-Id: <20220411164308.2491139-2-nathan@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220411164308.2491139-1-nathan@kernel.org> References: <20220411164308.2491139-1-nathan@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Colin Ian King commit 63617d8b125ed9f674133dd000b6df58d6b2965a upstream. Function kgd2kfd_init is missing a void argument, add it to clean up the non-ANSI function declaration. Acked-by: Randy Dunlap Signed-off-by: Colin Ian King Signed-off-by: Alex Deucher Signed-off-by: Nathan Chancellor --- drivers/gpu/drm/amd/amdkfd/kfd_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_module.c b/drivers/gpu/drm/amd/amdkfd/kfd_module.c index 986ff52d5750..f4b7f7e6c40e 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_module.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_module.c @@ -82,7 +82,7 @@ static void kfd_exit(void) kfd_chardev_exit(); } -int kgd2kfd_init() +int kgd2kfd_init(void) { return kfd_init(); }