Re: [PATCH net-next 5/5] octeontx2-af: Add support for loading custom KPU profile from filesystem

From: Jakub Kicinski

Date: Tue Mar 03 2026 - 20:09:59 EST


On Mon, 2 Mar 2026 14:28:03 +0530 Ratheesh Kannoth wrote:
> Flashing updated firmware on deployed devices is cumbersome. Provide a
> mechanism to load a custom KPU (Key Parse Unit) profile directly from
> the filesystem at module load time.

../drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:1764:6: warning: variable 'fw' is uninitialized when used here [-Wuninitialized]
1764 | if (fw->kpus > profile->kpus) {
| ^~
../drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:1723:35: note: initialize the variable 'fw' to silence this warning
1723 | struct npc_kpu_profile_fwdata *fw;
| ^
| = NULL
--
pw-bot: cr