Fabian Groffen has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/83262?usp=email )
Change subject: dummyflasher: assign address of function for LLVM ......................................................................
dummyflasher: assign address of function for LLVM
../flashrom-v1.3.0/dummyflasher.c:933:18: error: incompatible function pointer types initializing 'bool (*)(const struct flashrom_flashctx *, uint8_t)' (aka 'bool (*)(const struct flashrom_flashctx *, unsigned char)') with an expression of type 'bool (struct flashrom_flashctx *, uint8_t)' (aka 'bool (struct flashrom_flashctx *, unsigned char)') [-Wincompatible-function-pointer-types]
https://bugs.gentoo.org/915617
Change-Id: I8e5c9ea014d40a2e9e0621b25f8c404e80a79952 Signed-off-by: Fabian Groffen grobian@gentoo.org --- M dummyflasher.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/62/83262/1
diff --git a/dummyflasher.c b/dummyflasher.c index cf4ca03..cbf1e49 100644 --- a/dummyflasher.c +++ b/dummyflasher.c @@ -969,7 +969,7 @@ .read = default_spi_read, .write_256 = dummy_spi_write_256, .shutdown = dummy_shutdown, - .probe_opcode = dummy_spi_probe_opcode, + .probe_opcode = &dummy_spi_probe_opcode, .delay = dummy_nop_delay, };