Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6465806rwb; Wed, 18 Jan 2023 05:39:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXtzGNYZ7+mUjNdN7rFvwnCWPDTpkY/JI31HrxsYqM6dIMq3U/AnBUBq9JM3fzy8BGlAvBCH X-Received: by 2002:a17:906:90c3:b0:870:b5bb:625d with SMTP id v3-20020a17090690c300b00870b5bb625dmr6996731ejw.16.1674049175811; Wed, 18 Jan 2023 05:39:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674049175; cv=none; d=google.com; s=arc-20160816; b=zhLB5wmp+449Da/GdxJh6GIrrdzXyPoWrVSF8AHcDwK6FP2M3e7ZoTCssXE2IKmOIE 6ONhUulZVHh//sDYsUbesG+D9F8o8yyWoa0dLC4gb9UlsiJlCE0QiqYsSa1pJVfS/9/e nBpahDGJWwBNX3+Kw6Y1VpK+Ss39m9IhyfzXltCVmXMSn6oDLG013pqFbeQBa8QdZ+CJ 4Ba8pd+Pv+vYyr/hP4VWSuMqxgFxin1t9vmHLoWExuzSoWZbt9pTYzSmevwfR+LCW2C4 Gf7IbZSyAuFhaE6rM1xbeIy09+OvSk/B5JGCvTti0Ybhiz/gvAPLkeGwMxq+266Fueq+ TVdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hw4esFrgWqY7V9fNjsAmJnLUqMs88vJvaSbqJkpwFN4=; b=tNAoouq9QXz4UVQ+ClbsZ1opOjyCwbUa3UD1PH6NSaEsorQNpPST0YVSYx19SsMDdZ 7lJXnN3sqWvf35TUlsKI/f1bnbZPJDhfmamVUC49ly1ouSpjdx+P0i/yVmNfziIlXIhh n7FUTBiCt4hng5pFSUOJfJb/iGfKbrIuW0S55sNB4WQ9JkxQfcZk7VsWg09LY8FgSS++ bdQv8CQ61ijiQuqkBtEeVrAxkcReiGQKPTKZXYuvY2qewR/zj+MeE1p2c7jIALdkrzdk H/zyKcPrNXd7aJ4Vjy2akSHXIbQcRcQ0NMmVR4l7Abdv3TFt021JabvuJQUcJ0inaXmy THuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vty3EysI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gs38-20020a1709072d2600b0085a483a6fcbsi27260145ejc.278.2023.01.18.05.39.25; Wed, 18 Jan 2023 05:39:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vty3EysI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229638AbjARNeI (ORCPT + 45 others); Wed, 18 Jan 2023 08:34:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229740AbjARNdE (ORCPT ); Wed, 18 Jan 2023 08:33:04 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9CE95897E for ; Wed, 18 Jan 2023 05:00:12 -0800 (PST) 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 404D160CE8 for ; Wed, 18 Jan 2023 13:00:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 301ECC433D2; Wed, 18 Jan 2023 13:00:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1674046811; bh=dB/NGvr4e6SBdFkWga9MCfi5s6KUAAvOMvgaNcolWvY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vty3EysI6HXVcUWI7fHJz2My1cDucFgzu/mlSBVgU1GSZr5+maIpBQLab2rTn3Qs+ DQLySWUTpYWu/JaE+Y/bdSCorJsN0Q7U2lS7y3rgt3wTaNaAD/hooTGc9CYDhJ15Zd E4wE+ImnFwRtLIOHT6JqdGAZcsJpR+Qrcy9COw88= Date: Wed, 18 Jan 2023 14:00:08 +0100 From: Greg Kroah-Hartman To: Umang Jain Cc: Stefan Wahren , Arnd Bergmann , Florian Fainelli , Stephen Rothwell , Arnd Bergmann , Broadcom internal kernel review list , Adrien Thierry , Nicolas Saenz Julienne , linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: vchiq_arm: fix enum vchiq_status return types Message-ID: References: <20230117163957.1109872-1-arnd@kernel.org> <3a69e1fc-c266-d75c-32e3-9b5f655a8258@i2se.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 18, 2023 at 05:33:15PM +0530, Umang Jain wrote: > Hi, > > On 1/18/23 5:08 PM, Stefan Wahren wrote: > > Hi Arnd, > > > > Am 17.01.23 um 17:39 schrieb Arnd Bergmann: > > > From: Arnd Bergmann > > > > > > gcc-13 notices a type mismatch between function declaration > > > and definition for a few functions that have been converted > > > from returning vchiq specific status values to regular error > > > codes: > > > > > > drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:662:5: > > > error: conflicting types for 'vchiq_initialise' due to enum/integer > > > mismatch; have 'int(struct vchiq_instance **)' > > > [-Werror=enum-int-mismatch] > > > drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:1411:1: > > > error: conflicting types for 'vchiq_use_internal' due to > > > enum/integer mismatch; have 'int(struct vchiq_state *, struct > > > vchiq_service *, enum USE_TYPE_E)' [-Werror=enum-int-mismatch] > > > drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:1468:1: > > > error: conflicting types for 'vchiq_release_internal' due to > > > enum/integer mismatch; have 'int(struct vchiq_state *, struct > > > vchiq_service *)' [-Werror=enum-int-mismatch] > > > > > > Change the declarations to match the actual function definition. > > > > > > Fixes: a9fbd828be7f ("staging: vchiq_arm: drop enum vchiq_status > > > from vchiq_*_internal") > > > Signed-off-by: Arnd Bergmann > > > > thanks for fixing this. > > > > Greg applied a series [1] from Umang which completely removes this enum > > completely. This series has been applied to today and will likely cause > > a conflict tomorrow in linux-next. > > Yes, the series was applied today. > > Has this patch (By Arnd) already applied to linux-next? I am not sure if I > understand where the conflict will get originated .. I've applied Arnd's patch to my staging-linus branch and it will go there for 6.2-final. I'll handle the merge into my other branch when that happens. thanks, greg k-h