OF_getproplen() returns -1 on error, so don't store result in size_t
authorjsg <jsg@openbsd.org>
Mon, 14 Feb 2022 00:53:40 +0000 (00:53 +0000)
committerjsg <jsg@openbsd.org>
Mon, 14 Feb 2022 00:53:40 +0000 (00:53 +0000)
commit36defc4bbb5f5e58b17e89e2f018eddcc55a9722
tree2d56048b1249eabcfb26beeadcd66b9eb27fc0ef
parent4be097b868689c243276460b35b2ea492e330608
OF_getproplen() returns -1 on error, so don't store result in size_t
ok kettenis@
sys/arch/arm64/dev/aplhidev.c
sys/dev/fdt/imxspi.c
sys/dev/fdt/simpleamp.c