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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 28EC3C46467 for ; Wed, 11 Jan 2023 09:01:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XIijVka+BCww/n5ayOlbjmb1FyncWESQTd/v4DaEjNc=; b=rTVopTfAf4XVy9 gugLbjth1UeL5iaU4LbT+npGvi5NoVjfjrYDNgNSDWUOoQ3OkrHIpNiIjjMrUslF6ytKzd1bSFcew TF8Zjy3MO18G1QERkVwSq/ATr2gKtPTfxxbR44tcIntMlqrJcfVLeJpobSYaeBSIqCz94ajgdG1hc FImQ0ZiweLLtTyu5+KlcVYA1DaFcHvLpnuYZ5w9/pG9sSw8wN/OhlPRZfvi0eEAsC3yej54mv7zwt 2dYS5WdS4D8jRg+LXUiBp4zlVaa6tFxfoMgX1z3U3qRzmSZj2N1KLgsK0HdUrVuyA1PP//B9oLkur z/k8Gc4wieKMKFj+xlmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFWyU-00ARTg-7q; Wed, 11 Jan 2023 09:00:46 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFWyR-00ARSD-6m; Wed, 11 Jan 2023 09:00:44 +0000 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 A56C4B819CB; Wed, 11 Jan 2023 09:00:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7F38C433EF; Wed, 11 Jan 2023 09:00:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1673427640; bh=m7SO/EbDaZgXdfeT/+bx2g1Qtq4M8rWYhvxV7BtWxkM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=il7CiCBlRd6d1nn9B+aZDZQzBhcUBJrGsQcGKM2BFe5dpuOV2daVCXFqimf5HlIog dIM6peyZg/TCaXwOkND6Yjm/wJ9MlMpY8Nk0k1zOy2bm8ne9EurR5te0OdVO5nAFgx Wjoqmo+on5r3cIIlTz5B/3JD3Za67Gwj0tAB+hBE= Date: Wed, 11 Jan 2023 10:00:37 +0100 From: Greg KH To: Gaurav Pathak Cc: f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev Subject: Re: [PATCH] staging: vchiq_arm.c: Declare vchiq_platform_init as static Message-ID: References: <20230111080124.32274-1-gauravpathak129@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230111080124.32274-1-gauravpathak129@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230111_010043_409192_1487C2E8 X-CRM114-Status: GOOD ( 19.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jan 11, 2023 at 01:31:24PM +0530, Gaurav Pathak wrote: > Modified vchiq_platform_init() as static to fix sparse warning > > warning: symbol 'vchiq_platform_init' was not declared. Should it be > > static? Put the warning line all on one line, no need to wrap that. > Signed-off-by: Gaurav Pathak > --- > drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c > index dc33490ba7fb..ffa517077b80 100644 > --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c > +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c > @@ -462,7 +462,7 @@ free_pagelist(struct vchiq_instance *instance, struct vchiq_pagelist_info *pagel > cleanup_pagelistinfo(instance, pagelistinfo); > } > > -int vchiq_platform_init(struct platform_device *pdev, struct vchiq_state *state) > +static int vchiq_platform_init(struct platform_device *pdev, struct vchiq_state *state) > { > struct device *dev = &pdev->dev; > struct vchiq_drvdata *drvdata = platform_get_drvdata(pdev); > -- > 2.39.0 > > What changed to enable this version of the patch to work properly compared to the previous submissions that broke the build? Did you test this and it now works properly? thanks, greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel