Fix the following error for armv7a-cros-linux-gnueabihf-clang.
sysfs_drv.c:247:49: error: incompatible pointer types passing 'uint64_t *' (aka
'unsigned long long *') to parameter of type 'size_t *'
(aka 'unsigned int *') [-Werror,-Wincompatible-pointer-types]
247 | if (!cbmem_sysfs_probe_cbmem_entry(id, &addr, &size))
| ^~~~~
sysfs_drv.c:99:84: note: passing argument to parameter 'size_out' here
99 | ...id, uint64_t *addr_out, size_t *size_out)
| ^
1 error generated.
BUG=b:434971585
TEST=none
BRANCH=none
Change-Id: I5e2be25d57c5e69501564b6e8b6d880ec046bc3b
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88605
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| cbmem.c | ||
| cbmem_drv.c | ||
| cbmem_util.h | ||
| description.md | ||
| devmem_drv.c | ||
| Makefile | ||
| sysfs_drv.c | ||