summaryrefslogtreecommitdiff
path: root/net/core/net-sysfs.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-01-10 16:28:47 +0100
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-01-21 01:43:42 +0200
commit44e6861646748a21b55725adc0780342f4440066 (patch)
tree0d191d71c73eb107cb64922b10dfc28d613a2fff /net/core/net-sysfs.h
parent63d762b88cb5510f2bfdb5112ced18cde867ae61 (diff)
platform/x86: surface3-wmi: Shut up unused-function warning
The newly added driver guards its "resume" callback with an warning in some configurations: drivers/platform/x86/surface3-wmi.c:248:12: error: 's3_wmi_resume' defined but not used [-Werror=unused-function] Using a __maybe_unused annotation without an #ifdef avoids the mistake more reliably. Fixes: 3dda3b3798f9 ("platform/x86: Add custom surface3 platform device for controlling LID") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'net/core/net-sysfs.h')
0 files changed, 0 insertions, 0 deletions
t-next.git/diff/tools/perf/tests/openat-syscall-tp-fields.c?h=nds-private-remove&id=3365135d43f861003555c963b309672d053a2228&id2=e0d76fa4475ef2cf4b52d18588b8ce95153d021b'>diff)
Merge tag 'xfs-for-linus-4.10-rc6-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
Pull xfs uodates from Darrick Wong: "I have some more fixes this week: better input validation, corruption avoidance, build fixes, memory leak fixes, and a couple from Christoph to avoid an ENOSPC failure. Summary: - Fix race conditions in the CoW code - Fix some incorrect input validation checks - Avoid crashing fs by running out of space when freeing inodes - Fix toctou race wrt whether or not an inode has an attr - Fix build error on arm - Fix page refcount corruption when readahead fails - Don't corrupt userspace in the bmap ioctl" * tag 'xfs-for-linus-4.10-rc6-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: xfs: prevent quotacheck from overloading inode lru xfs: fix bmv_count confusion w/ shared extents xfs: clear _XBF_PAGES from buffers when readahead page xfs: extsize hints are not unlikely in xfs_bmap_btalloc xfs: remove racy hasattr check from attr ops xfs: use per-AG reservations for the finobt xfs: only update mount/resv fields on success in __xfs_ag_resv_init xfs: verify dirblocklog correctly xfs: fix COW writeback race
Diffstat (limited to 'tools/perf/tests/openat-syscall-tp-fields.c')