[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176119117676.2145463.10144749814100093339.git-patchwork-notify@kernel.org>
Date: Thu, 23 Oct 2025 03:46:16 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Pei Xiao <xiaopei01@...inos.cn>
Cc: lkp@...el.com, alexanderduyck@...com, kernel-team@...a.com,
netdev@...r.kernel.org, horms@...nel.org, kuba@...nel.org, lee@...ger.us,
linux-kernel@...r.kernel.org, oe-kbuild-all@...ts.linux.dev,
pabeni@...hat.com
Subject: Re: [PATCH] eth: fbnic: fix integer overflow warning in TLV_MAX_DATA
definition
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 21 Oct 2025 17:42:27 +0800 you wrote:
> The TLV_MAX_DATA macro calculates (PAGE_SIZE - 512) which can exceed
> the maximum value of a 16-bit unsigned integer on architectures with
> large page sizes, causing compiler warnings:
>
> drivers/net/ethernet/meta/fbnic/fbnic_tlv.h:83:24: warning: conversion
> from 'long unsigned int' to 'short unsigned int' changes value from
> '261632' to '65024' [-Woverflow]
>
> [...]
Here is the summary with links:
- eth: fbnic: fix integer overflow warning in TLV_MAX_DATA definition
https://git.kernel.org/netdev/net-next/c/d550d63d0082
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists