aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-pr-decoupler.c
diff options
context:
space:
mode:
authorRodríguez Barbarin, José Javier <[email protected]>2023-04-11 10:33:27 +0200
committerGreg Kroah-Hartman <[email protected]>2023-04-20 14:24:01 +0200
commita889c276d33d333ae96697510f33533f6e9d9591 (patch)
tree408e3ae20b78fc29078c373cad2cd69f1e9c96b0 /drivers/fpga/xilinx-pr-decoupler.c
parent4daa669efcfa5147e4bd5ecb3f1e10c0c96eef27 (diff)
mcb: Return actual parsed size when reading chameleon table
The function chameleon_parse_cells() returns the number of cells parsed which has an undetermined size. This return value is only used for error checking but the number of cells is never used. Change return value to be number of bytes parsed to allow for memory management improvements. Co-developed-by: Jorge Sanjuan Garcia <[email protected]> Signed-off-by: Jorge Sanjuan Garcia <[email protected]> Signed-off-by: Javier Rodriguez <[email protected]> Signed-off-by: Johannes Thumshirn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-pr-decoupler.c')
0 files changed, 0 insertions, 0 deletions