diff mbox

dmi: dmicheck: add type 9 to dmi_used_by_kernel_table

Message ID 1493943454-20467-1-git-send-email-alex.hung@canonical.com
State Accepted
Headers show

Commit Message

Alex Hung May 5, 2017, 12:17 a.m. UTC
Type 9 is added to dmi_decode() since kernel 4.5, and fwts is
upated accordingly.

Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 src/dmi/dmicheck/dmicheck.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Colin Ian King May 5, 2017, 2:44 p.m. UTC | #1
On 05/05/17 01:17, Alex Hung wrote:
> Type 9 is added to dmi_decode() since kernel 4.5, and fwts is
> upated accordingly.
> 
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/dmi/dmicheck/dmicheck.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/dmi/dmicheck/dmicheck.c b/src/dmi/dmicheck/dmicheck.c
> index 25fc678..1fe6cf0 100644
> --- a/src/dmi/dmicheck/dmicheck.c
> +++ b/src/dmi/dmicheck/dmicheck.c
> @@ -285,6 +285,8 @@ static fwts_dmi_used_by_kernel dmi_used_by_kernel_table[] = {
>  	{ 3, 6 },
>  	{ 3, 7 },
>  	{ 3, 8 },
> +	/* Type 9, System Slots */
> +	{ 9, FIELD_ANY },
>  	/* Type 10, Onboard Devices Information */
>  	{ 10, FIELD_ANY },
>  	/* Type 11, OEM Strings */
> 
Acked-by: Colin Ian King <colin.king@canonical.com>
Ivan Hu May 10, 2017, 8:17 a.m. UTC | #2
On 05/05/2017 08:17 AM, Alex Hung wrote:
> Type 9 is added to dmi_decode() since kernel 4.5, and fwts is
> upated accordingly.
>
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/dmi/dmicheck/dmicheck.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/dmi/dmicheck/dmicheck.c b/src/dmi/dmicheck/dmicheck.c
> index 25fc678..1fe6cf0 100644
> --- a/src/dmi/dmicheck/dmicheck.c
> +++ b/src/dmi/dmicheck/dmicheck.c
> @@ -285,6 +285,8 @@ static fwts_dmi_used_by_kernel dmi_used_by_kernel_table[] = {
>  	{ 3, 6 },
>  	{ 3, 7 },
>  	{ 3, 8 },
> +	/* Type 9, System Slots */
> +	{ 9, FIELD_ANY },
>  	/* Type 10, Onboard Devices Information */
>  	{ 10, FIELD_ANY },
>  	/* Type 11, OEM Strings */
>



Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox

Patch

diff --git a/src/dmi/dmicheck/dmicheck.c b/src/dmi/dmicheck/dmicheck.c
index 25fc678..1fe6cf0 100644
--- a/src/dmi/dmicheck/dmicheck.c
+++ b/src/dmi/dmicheck/dmicheck.c
@@ -285,6 +285,8 @@  static fwts_dmi_used_by_kernel dmi_used_by_kernel_table[] = {
 	{ 3, 6 },
 	{ 3, 7 },
 	{ 3, 8 },
+	/* Type 9, System Slots */
+	{ 9, FIELD_ANY },
 	/* Type 10, Onboard Devices Information */
 	{ 10, FIELD_ANY },
 	/* Type 11, OEM Strings */