Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37740 )
Change subject: device/pnp: use correct width type for pnp_info.function ......................................................................
device/pnp: use correct width type for pnp_info.function
Change-Id: Idbc1b37a8c98fe7fa24d8632e6a55c046e2d2869 Signed-off-by: Felix Held felix-coreboot@felixheld.de --- M src/include/device/pnp.h 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/40/37740/1
diff --git a/src/include/device/pnp.h b/src/include/device/pnp.h index 69a06674..a3222d2 100644 --- a/src/include/device/pnp.h +++ b/src/include/device/pnp.h @@ -34,7 +34,7 @@
struct pnp_info { struct device_operations *ops; /* LDN-specific ops override */ - unsigned int function; /* Must be at least 16 bits (virtual LDNs)! */ + u16 function; /* Must be at least 16 bits (virtual LDNs)! */ unsigned int flags; #define PNP_IO0 0x000001 #define PNP_IO1 0x000002