aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/altera-fpga2sdram.c
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2025-02-06 11:05:56 +0000
committerDavid S. Miller <[email protected]>2025-02-10 15:04:18 +0000
commit2bae25b16aea249f0e96757b6cd28b03d2b4397f (patch)
tree0569c962c509ef50a8f21fa1cbc481c7817085f3 /drivers/fpga/altera-fpga2sdram.c
parentnetconsole: Introduce configfs helpers for sysdata features (diff)
downloadkernel-2bae25b16aea249f0e96757b6cd28b03d2b4397f.tar.gz
kernel-2bae25b16aea249f0e96757b6cd28b03d2b4397f.zip
netconsole: Include sysdata in extradata entry count
Modify count_extradata_entries() to include sysdata fields when calculating the total number of extradata entries. This change ensures that the sysdata feature, specifically the CPU number field, is correctly counted against the MAX_EXTRADATA_ITEMS limit. The modification adds a simple check for the CPU_NR flag in the sysdata_fields, incrementing the entry count accordingly. Signed-off-by: Breno Leitao <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions