From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE0F12E6114; Wed, 23 Jul 2025 13:49:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753278543; cv=none; b=fl9tvnX7NHNWMHcsLb7KtVXI3a6hf3GjbuDNk/bAAj9uECarCbzVEHV2bluUFLlhb0s6HXSYsRCIp32S+JG43H9Gsd68T0rSnvuBbm1VZEq3GMKinZA/XoWi2nWRXcNa9lq0ml3q+6c5EjXa86b0yAlCJkBir6ULXp1vD9w1qVY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753278543; c=relaxed/simple; bh=gpofvUdCvafEi9/Yz7WQuqJNoF8dDZ2uzd6/+Lg4OuY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tF0gTbrf8lbr41Ps6Zw4+lRRYkns+V8fMXdiaZVUXIroVS+kRCevXKIAFS/tNXLHFwuSuUkS2CoZUuO8wXGymxDXTXTgkuw0DoxBIJUJicU+3ICauZseMmsvfZ5zkQmxPx8ZFHc4fqsvjLU2uZEzJi58UlAhbXrC4AxO11G5Hks= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eqG+yF9v; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eqG+yF9v" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F177C4CEE7; Wed, 23 Jul 2025 13:49:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753278543; bh=gpofvUdCvafEi9/Yz7WQuqJNoF8dDZ2uzd6/+Lg4OuY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eqG+yF9vGnyPwsKROpDhc4vfaUIwMNG9rE6vCOfRZVVpYeEE2bUgWTYDUlJOi99MA +EBJt3gVHRkRBksLk+Lje0BQC5Ua1wtHXeKtWLK8LtqCvl55M9bBHXtu3TiYReajNa f6RaOgTW6k3KEGmidaDlRwc7biL2cF94l/CbwSfQMo2dl7fbfEDIf/JzO41V3zHTg8 CCjmuzrn4jhTgA/QpGfQWCyjsJHo464cpB4tGF15NDc4b+K3kXcYDHDdshUfiUNWhw dmBimZQ8TDdYTJH3h0DUzHOIem1prD3+ipds1isrmNp2ngbxhRaZe8bzdn60Gt7R2x uxlaHyrY2zwlw== Date: Wed, 23 Jul 2025 06:49:01 -0700 From: Jakub Kicinski To: MD Danish Anwar , Julia Lawall Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Jonathan Corbet , Andrew Lunn , Mengyuan Lou , Michael Ellerman , Madhavan Srinivasan , Fan Gong , Lee Trager , Lorenzo Bianconi , Geert Uytterhoeven , Lukas Bulwahn , Parthiban Veerasooran , , , , cocci@inria.fr, Nicolas Palix Subject: Re: [PATCH net-next 1/5] net: rpmsg-eth: Add Documentation for RPMSG-ETH Driver Message-ID: <20250723064901.0b7ec997@kernel.org> In-Reply-To: <20250723080322.3047826-2-danishanwar@ti.com> References: <20250723080322.3047826-1-danishanwar@ti.com> <20250723080322.3047826-2-danishanwar@ti.com> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 23 Jul 2025 13:33:18 +0530 MD Danish Anwar wrote: > + - Vendors must ensure the magic number matches the value expected by the > + Linux driver (see the `RPMSG_ETH_SHM_MAGIC_NUM` macro in the driver > + source). For some reason this trips up make coccicheck: EXN: Failure("unexpected paren order") in /home/cocci/testing/Documentation/networking/device_drivers/ethernet/rpmsg_eth.rst If I replace the brackets with a comma it works: - Vendors must ensure the magic number matches the value expected by the Linux driver, see the `RPMSG_ETH_SHM_MAGIC_NUM` macro in the driver source. Could you make that change in the next revision to avoid the problem? Julia, is there an easy way to make coccinelle ignore files which don't end with .c or .h when using --use-patch-diff ? -- pw-bot: cr