[XS] Change in flashrom[main]: dummyflasher: assign address of function for LLVM
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, }; -- To view, visit https://review.coreboot.org/c/flashrom/+/83262?usp=email To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: flashrom Gerrit-Branch: main Gerrit-Change-Id: I8e5c9ea014d40a2e9e0621b25f8c404e80a79952 Gerrit-Change-Number: 83262 Gerrit-PatchSet: 1 Gerrit-Owner: Fabian Groffen <grobian@gentoo.org>
participants (1)
-
Fabian Groffen (Code Review)