From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1053AC433F5 for ; Mon, 8 Nov 2021 07:50:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DEAB66125F for ; Mon, 8 Nov 2021 07:50:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236645AbhKHHwy (ORCPT ); Mon, 8 Nov 2021 02:52:54 -0500 Received: from muru.com ([72.249.23.125]:53864 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234554AbhKHHwx (ORCPT ); Mon, 8 Nov 2021 02:52:53 -0500 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 1120C80E4; Mon, 8 Nov 2021 07:50:45 +0000 (UTC) Date: Mon, 8 Nov 2021 09:50:07 +0200 From: Tony Lindgren To: Arnd Bergmann List-Id: Cc: Santosh Shilimkar , "Eric W. Biederman" , Dave Gerlach , soc@kernel.org, Arnd Bergmann , Lee Jones , Zhen Lei , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] soc: ti: fix wkup_m3_rproc_boot_thread return type Message-ID: References: <20211105075119.2327190-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211105075119.2327190-1-arnd@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Arnd Bergmann [211105 07:52]: > From: Arnd Bergmann > > The wkup_m3_rproc_boot_thread() function uses a nonstandard prototype, > which broke after Eric's recent cleanup: > > drivers/soc/ti/wkup_m3_ipc.c: In function 'wkup_m3_rproc_boot_thread': > drivers/soc/ti/wkup_m3_ipc.c:429:16: error: 'return' with a value, in function returning void [-Werror=return-type] > 429 | return 0; > | ^ > drivers/soc/ti/wkup_m3_ipc.c:416:13: note: declared here > 416 | static void wkup_m3_rproc_boot_thread(struct wkup_m3_ipc *m3_ipc) > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > > Change it to the normal prototype as it should have been from the > start. Thanks Acked-by: Tony Lindgren