diff options
| author | Sebastian Reichel <[email protected]> | 2019-10-29 11:42:31 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-11-05 18:35:28 +0100 |
| commit | 9b8303fc6efa724bd6a90656434fbde2cc6ceb2c (patch) | |
| tree | 40c9a4fd297b298178f4569712f6020ce2fa442b /tools/perf/scripts/python | |
| parent | 482c86cc37b7fa884843ec37edd1847c5463e3a9 (diff) | |
nvmem: core: fix nvmem_cell_write inline function
nvmem_cell_write's buf argument uses different types based on
the configuration of CONFIG_NVMEM. The function prototype for
enabled NVMEM uses 'void *' type, but the static dummy function
for disabled NVMEM uses 'const char *' instead. Fix the different
behaviour by always expecting a 'void *' typed buf argument.
Fixes: 7a78a7f7695b ("power: reset: nvmem-reboot-mode: use NVMEM as reboot mode write interface")
Reported-by: kbuild test robot <[email protected]>
Cc: Han Nandor <[email protected]>
Cc: Srinivas Kandagatla <[email protected]>
Cc: [email protected]
Signed-off-by: Sebastian Reichel <[email protected]>
Reviewed-By: Han Nandor <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions