Article View: linux.kernel.netdev
Article #24736Re: [PATCH iproute2] remove unnecessary cast of RTA_DATA()
From: patchwork-bot+netdevbpf
Date: Mon, 30 Nov 2026 18:20
Date: Mon, 30 Nov 2026 18:20
26 lines
8532 bytes
8532 bytes
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:
On Sat, 28 Nov 2026 10:27:19 -0800 you wrote:
> The macro RTA_DATA results in a void * pointer so the cast
> is unnecessary. No change in resulting code.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
> include/libnetlink.h | 2 +-
> ip/xfrm_policy.c | 2 +-
> ip/xfrm_state.c | 2 +-
> tc/m_ematch.c | 2 +-
> 4 files changed, 4 insertions(+), 4 deletions(-)
Here is the summary with links:
- [iproute2] remove unnecessary cast of RTA_DATA()
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=65af26828fc5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179606280500.3477659.16511278635261714255.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374374-linux-kernel-netdev=dewy.ruReferences:
<20261128182719.1476909-1-stephen@networkplumber.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374374-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH iproute2] remove unnecessary cast of RTA_DATA() Date: Mon, 30 Nov 2026 18:20:05 +0000 Organization: Usenet Network Message-ID: <179606280500.3477659.16511278635261714255.git-patchwork-notify@kernel.org> References: <20261128182719.1476909-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1499321"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:d+Na5YTntytQsR4KPzhKisnfXjc= sha256:dtFWXhaPKB+MAEyeVN91qQ/iaM2+9aU6vUPxVYNc53M= sha1:CtnPqU3x09QgTXditDQqJLniiMo= sha256:ZxPRUoX8x19azcKpHSpuizFA7cNUtMdJPvK6nr1Mbek= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 6BFBA126000; Mon, 30 Nov 2026 21:20:27 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IR-w14eXjmjg; Mon, 30 Nov 2026 21:20:23 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-374374-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id D9F35125FFF; Mon, 30 Nov 2026 21:20:09 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 0603C3072F; Mon, 30 Nov 2026 18:20:08 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796062807; b=zr+ACgsSuc9fA+cOmA88CPxbqWx4R5rlNwBGltUZmZnfpsgq0YV5Se7+XQbr9VPZ8Jli 3R8ockCVeyT1A/3COhnvLGfjLtFGRbWdOAv+rcKPNPnbUfnQjc4l564AVvkx685Y31XKI k9vhqWJ2zKSFCvcnFExPJpObOThfDfBxiePa7tLJ9EWJUUkfdKIC6FGf1UsSb11sV39Ak Te41T9IVpRzr/B7YjeRaSbmy/ztRts/1pDyPHfJmzzvuGRQWQdrnSmAUx96JW5U5FzqKF CqIy96s8t0uadA6sd0plIEE9bdEuSmwdlkm7jzlqCnymnn01VoxZOHcM2nj2gYMrHiA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796062807; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=eFzu8va6PzEGNDXsN0ziIMCOdlokLHsdS+Ir0z3MiiI=; b=qe6OSamyOhWp8lR4pJ4NBbzgFWmYa26KIn4f7XianN/8Lf57iJhoxQmzesff+9AZA3W5 v67C9UPME+D88wyIezgTpPHLCcgUG9yvjKp/bOJ/A2E2wfBcxl7JweCo+/lKrDvSg2Xrr HkhtKQlcqp/ngHGhOyJsy4CxGhq17BfMhctmvtOsZ8E1jw1JwWKvbpjBjGKbPTLc8b519 Z76pEyTYQMdiEPdQ1E1p5lvWjwaDaIPaPxZqHhjA8qGQsEcsq+s9dxsAgLeFDBJeF+Ko4 1RzeegdbuSK2+oEn9dQ7ZiNjK8h+0IT4qornvSghTnO3ajtP3yuZPwFg7nOBzOhafyw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Wbo+3XIJ; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3FB4606A32C; Mon, 30 Nov 2026 18:20:07 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Wbo+3XIJ X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796062806; b=AeFIUsh9lpcuqFggKl0VAbgCZdV52+tPj04S0nn2EaeWP60flNqSosSrppLz0Vih8guo VVVMkWs7AWzb4N180qaGV98+VHVbdU1PzvHhpYimofbqwHVJlMQolQWOw/BX88haJWxCp k6Ry948GuDAm50eYe740lbBJ+6UJY+bzzFNa20apBfyimg9TMt7EXKeroxK5Z1bq8Eekp 4fsIabE504v80VXh12txjUP3j28m70Um9dBiyLS6shunKXLNV5ju2taCOtW+GI8nvTR7P h+fJpzZr3DOfFe53ALkg5oBznAXrF1QiSvrGu2KFY2ERY8VNjPXclCU2Qzq30JfOCng== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796062806; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=eFzu8va6PzEGNDXsN0ziIMCOdlokLHsdS+Ir0z3MiiI=; b=B6I8RdMJAbEaqQIb+fZ6lTqkpE+AkS8MEa0oj0do1BZKAGRQ/ng0dhm9CSIaXYYo6u/F QCAfkozhPuF9V44cqo5dEErMxpjboE50kpGduR54rQvZpjB08hOSmItCrkWBcfYIUQt5R PIExJSrw29TFtJTSCG4w6tOxJdOYhqtrPxQXFqG46queoncQITJzDubUK14bPwOyt5K8z GxVWj9yuRaA3cdYwL7R8AhxLZyId/M1chptRnMZAfF/KBCEv7V3QyEiuVFdpISFL+FhYz pOERNPHk4BqIKnG3tA7vOyTadAveqVRr5HnmRcq+AVXGXRjMdioNG6ktUykxenvX0Eg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Wbo+3XIJ; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2879606A31C for <netdev@vger.kernel.org>; Mon, 30 Nov 2026 18:20:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D72F1F000C1; Mon, 30 Nov 2026 18:20:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796062806; bh=eFzu8va6PzEGNDXsN0ziIMCOdlokLHsdS+Ir0z3MiiI=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Wbo+3XIJc9yWhC2sAg+FT3Md9j9yA1Fys77pUnrpTDeKBVMTUoD6Pypnc0VV+ylHk u5uWjbEgo+9ytLQadJSL3uTrqM4+3FXtYNT+Bik8P3oasTsmPgEx26eI58TYchL/Ql bkxoo2wYsJwAQMez/6NGq447mgckNkDYP9a9wsNTiMDTWJXRsxadNURqDhxTxTiS6k AwXcFWVMg0KLrRxbZx27ugDi5o1eYBX3LeiBabDy47vGbqCiHyc/1l0MbYZ+YU7HV2 rNbfOJw8ba4ZfhTtG66BkATL8gT3C9SRdvFg/XuGnRe/+Z3Lo9Afsuh5kLETXcceEr IoJc475m32Alg== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3478F39E8A66; Mon, 30 Nov 2026 18:20:06 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261128182719.1476909-1-stephen@networkplumber.org> X-Cc: netdev@vger.kernel.org, dsahern@kernel.org