linux/drivers/mcb
Rodríguez Barbarin, José Javier a889c276d3 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 <jorge.sanjuangarcia@duagon.com>
Signed-off-by: Jorge Sanjuan Garcia <jorge.sanjuangarcia@duagon.com>
Signed-off-by: Javier Rodriguez <josejavier.rodriguez@duagon.com>
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
Link: https://lore.kernel.org/r/20230411083329.4506-2-jth@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-20 14:24:01 +02:00
..
Kconfig
Makefile
mcb-core.c driver core: make struct bus_type.uevent() take a const * 2023-01-27 13:45:52 +01:00
mcb-internal.h
mcb-lpc.c mcb: Use DEFINE_RES_MEM() helper macro and fix the end address 2021-06-24 15:56:25 +02:00
mcb-parse.c mcb: Return actual parsed size when reading chameleon table 2023-04-20 14:24:01 +02:00
mcb-pci.c drivers: mcb: use symbol namespaces 2019-11-03 19:54:53 +01:00