aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/kernfs/mount.c
diff options
context:
space:
mode:
authorMichel Lespinasse <walken@google.com>2014-01-28 05:06:21 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-15 11:29:56 -0800
commitb12b73f1ca7763a94e0949a0d86eea40b5f69ea6 (patch)
treee4766c8495c0457811908454646194dd5e154250 /fs/kernfs/mount.c
parentdrivers/base: delete non-required instances of include <linux/init.h> (diff)
downloadwireguard-linux-b12b73f1ca7763a94e0949a0d86eea40b5f69ea6.tar.xz
wireguard-linux-b12b73f1ca7763a94e0949a0d86eea40b5f69ea6.zip
firmware: fix google/gsmi duplicate efivars_sysfs_init()
Starting in commit e14ab23dde12b80db4c94b684a2e485b72b16af3, efivars_sysfs_init() is called both by itself as an init function, and by drivers/firmware/google/gsmi.c gsmi_init(). This results in runtime warnings such as the following: [ 5.651330] WARNING: at fs/sysfs/dir.c:530 sysfs_add_one+0xbd/0xe0() [ 5.657699] sysfs: cannot create duplicate filename '/firmware/gsmi/vars' Fixing this by removing the redundant efivars_sysfs_init() call in gsmi_init(). Tested: booted, checked that /firmware/gsmi/vars was still present and showed the expected contents. Signed-off-by: Michel Lespinasse <walken@google.com> Acked-by: Matt Fleming <matt.fleming@intel.com> Acked-by: Mike Waychison <mikew@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/kernfs/mount.c')
0 files changed, 0 insertions, 0 deletions