]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: dmi: Fix permissions of product_family
authorJean Delvare <jdelvare@suse.de>
Thu, 15 Jun 2017 11:46:01 +0000 (13:46 +0200)
committerJean Delvare <jdelvare@suse.de>
Thu, 15 Jun 2017 11:46:01 +0000 (13:46 +0200)
commit07894f675d3dc9387196ad268a6c8258c4ec65f0
treeb9982ad539bc5206621587508383eaed60053fdb
parentcdf187ac632bcf691c8ec48f7cdbc480b38b6631
firmware: dmi: Fix permissions of product_family

This is not sensitive information like serial numbers, we can allow
all users to read it.

Fix odd alignment while we're here.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Fixes: ad7887d25aad ("firmware: dmi: Add DMI_PRODUCT_FAMILY identification string")
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
drivers/firmware/dmi-id.c