Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5615347rwj; Wed, 21 Dec 2022 05:05:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXvzt6Sa0v1Pd9vG8WluV1vTyGSZCIVwgPqJwIxkipLEpSU58gs3BsezfZThTz6GV+p+bvnd X-Received: by 2002:a17:907:2713:b0:7c0:a36d:115b with SMTP id w19-20020a170907271300b007c0a36d115bmr4676490ejk.14.1671627934390; Wed, 21 Dec 2022 05:05:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671627934; cv=none; d=google.com; s=arc-20160816; b=t45FetH+ysN0cAtWKR6YfYpMiBzgAsrvyPgV0SiXUq3gbfE/xn1/EwpjqoJuhAEJ0k F3MLsjLv3Jud4ONBl81LT+DGF3EdyXD5M+shK61qZAFh1f04z03RyomZTuia5n+B/CYq FaLOZinqHjV8RymarJgHk6mJGdHokx+c2zp3Nrjt8c4RwX0Rf2y8q5e37vs6WZkJUr1N lo+Z2dBn9rWiF3JDkhKnV319QMyHTFQGwUn/i9JT3TzqtRawUb2iKxALo3pss+A/rQLX hFUF6rzGSHJtZf7k3Oogr8svgGPHD2/oVGSpYW9XUvH/BcLKOZeZOIHfe86+nelAjL/M gGlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=CTmwzIZDxNbAoJdJeA0yz//gYKKYM2pUGLlxsv+qTUQ=; b=aO7uPtFtgx7C0ngkNl/Vsf+dKSYnt2D+w0I82IrEsFQV1nH/WccqWQjvX3WAlAM8p9 7a5iN5eymN1j97R22m2ww2UVthkxQbyZcRKEXaDMFKBU1FfOfmnvZ/XtlZa8P5eeT++T KCyCAhatC/k8KYsH7dRNw0CcwVR9GuglT6vRbQEEke1QY1ZH68L53C2+nzfKfUZVvnDj jFOiFcyKFKJssfGwogqd6i3KTOoVvtUHKgKlB/fl9mCdxxCGXxyF4rKw0ZOUmghG0YfX 15a9DkjLvE8OYRgakkyUlEEstOUAQR6as5aTfbm2v63h1S/5CCsjfLjoziEVAMIrHpqN R/rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=oylmFDmp; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr34-20020a1709073fa200b007b28c6790edsi15377205ejc.205.2022.12.21.05.05.17; Wed, 21 Dec 2022 05:05:34 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=oylmFDmp; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230296AbiLUMdb (ORCPT + 70 others); Wed, 21 Dec 2022 07:33:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229652AbiLUMd2 (ORCPT ); Wed, 21 Dec 2022 07:33:28 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93CE6DF5F for ; Wed, 21 Dec 2022 04:33:27 -0800 (PST) Received: from pendragon.ideasonboard.com (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 51A6FFB; Wed, 21 Dec 2022 13:33:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1671626005; bh=5Fd2x2guEXhJvwsldua4/D1afcQdq+w5Tdig2fs5xT4=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=oylmFDmpwe19jgOU9ccsnHaXmatKYGIHtxpuqVJpQsyWHx+HvUbI60OYAfRcSH4Pm dFq8xU+Z2huSzm3NiJalMifeCXhUJYBS9hkIBvvv7mqyBMd35Er2jtSBSLMPLE4woj bMBrzycYHMJ+DwLgEKZnZLZp22Yw2tFHbuA53xDY= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20221221074047.233473-1-umang.jain@ideasonboard.com> References: <20221221074047.233473-1-umang.jain@ideasonboard.com> Subject: Re: [PATCH] staging: vchiq_arm: Remove extra struct vchiq_instance declaration From: Kieran Bingham Cc: Greg Kroah-Hartman , Adrien Thierry , Stefan Wahren , Laurent Pinchart , Umang Jain To: Umang Jain , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-staging@lists.linux.dev Date: Wed, 21 Dec 2022 12:33:22 +0000 Message-ID: <167162600273.3944359.9522944722768752331@Monstersaurus> User-Agent: alot/0.10 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 Quoting Umang Jain (2022-12-21 07:40:47) > Additional declaration of struct vchiq_instance was introduced in the > commit 726e79f8a648 ("staging: vchiq_arm: pass vchiq instance to > service callbacks"). Drop the extra declaration. >=20 > Fixes: 726e79f8a648 ("staging: vchiq_arm: pass vchiq instance to service = callbacks") > Signed-off-by: Umang Jain It's tempting to move the other instance up to near the top of the file too, but not necessary. Reviewed-by: Kieran Bingham > --- > drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h | 2 -- > 1 file changed, 2 deletions(-) >=20 > diff --git a/drivers/staging/vc04_services/include/linux/raspberrypi/vchi= q.h b/drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h > index 66965da11443..52e106f117da 100644 > --- a/drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h > +++ b/drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h > @@ -78,8 +78,6 @@ struct vchiq_service_params_kernel { > short version_min; /* Update for incompatible changes */ > }; > =20 > -struct vchiq_instance; > - > extern int vchiq_initialise(struct vchiq_instance **pinstance); > extern int vchiq_shutdown(struct vchiq_instance *instance); > extern int vchiq_connect(struct vchiq_instance *instance); > --=20 > 2.38.1 >