HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/40310 )
Change subject: src/include/device/device.h: Use already defined 'smbios_type11' ......................................................................
src/include/device/device.h: Use already defined 'smbios_type11'
include <smbios.h> to use already defined 'smbios_type11'.
Change-Id: Id412a504da2fd75648636febd150356569e07935 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/include/device/device.h 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/40310/1
diff --git a/src/include/device/device.h b/src/include/device/device.h index 4e9c594..d25cbd0 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -5,6 +5,7 @@ #include <device/resource.h> #include <device/path.h> #include <device/pci_type.h> +#include <smbios.h> #include <types.h>
struct device; @@ -29,7 +30,6 @@
struct bus;
-struct smbios_type11; struct acpi_rsdp;
struct device_operations {
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40310 )
Change subject: src/include/device/device.h: Use already defined 'smbios_type11' ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/40310/1/src/include/device/device.h File src/include/device/device.h:
https://review.coreboot.org/c/coreboot/+/40310/1/src/include/device/device.h... PS1, Line 143: u8 smbios_slot_type; : u8 smbios_slot_data_width; : u8 smbios_slot_length; These are actually enums from `smbios.h` and that's what the errors with the chip.h removals are about. This should be mentioned in the commit message. That we can drop `struct smbios_type11;` is just a side-effect.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40310
to look at the new patch set (#2).
Change subject: include/device/device.h: Include <smbios.h> ......................................................................
include/device/device.h: Include <smbios.h>
smbios_slot_{type,data_width,length,designation} used for smbios_type_9 needs "smbios.h" Also use already defined 'smbios_type11' in "smbios.h". This will also include <smbios.h> in "static.c" file, this we can remove indirect includes of <smbios.h> in "chip.h"
Change-Id: Id412a504da2fd75648636febd150356569e07935 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/include/device/device.h 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/40310/2
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40310 )
Change subject: include/device/device.h: Include <smbios.h> ......................................................................
Patch Set 2:
(1 comment)
Patch Set 1:
(1 comment)
Thx
https://review.coreboot.org/c/coreboot/+/40310/1/src/include/device/device.h File src/include/device/device.h:
https://review.coreboot.org/c/coreboot/+/40310/1/src/include/device/device.h... PS1, Line 143: u8 smbios_slot_type; : u8 smbios_slot_data_width; : u8 smbios_slot_length;
These are actually enums from `smbios.h` and that's what the errors with […]
done
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40310 )
Change subject: include/device/device.h: Include <smbios.h> ......................................................................
Patch Set 2: Code-Review+2
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40310 )
Change subject: include/device/device.h: Include <smbios.h> ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/40310/1/src/include/device/device.h File src/include/device/device.h:
https://review.coreboot.org/c/coreboot/+/40310/1/src/include/device/device.h... PS1, Line 143: u8 smbios_slot_type; : u8 smbios_slot_data_width; : u8 smbios_slot_length;
done
Done
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/40310 )
Change subject: include/device/device.h: Include <smbios.h> ......................................................................
include/device/device.h: Include <smbios.h>
smbios_slot_{type,data_width,length,designation} used for smbios_type_9 needs "smbios.h" Also use already defined 'smbios_type11' in "smbios.h". This will also include <smbios.h> in "static.c" file, this we can remove indirect includes of <smbios.h> in "chip.h"
Change-Id: Id412a504da2fd75648636febd150356569e07935 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/c/coreboot/+/40310 Reviewed-by: Patrick Georgi pgeorgi@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/include/device/device.h 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
diff --git a/src/include/device/device.h b/src/include/device/device.h index c21067d..72df751 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -5,6 +5,7 @@ #include <device/resource.h> #include <device/path.h> #include <device/pci_type.h> +#include <smbios.h> #include <types.h>
struct device; @@ -29,7 +30,6 @@
struct bus;
-struct smbios_type11; struct acpi_rsdp;
struct device_operations {