lkml.org 
[lkml]   [2019]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[GIT PULL] Driver core fixes for 5.0-rc2
The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c:

Linux 5.0-rc1 (2019-01-06 17:08:20 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-5.0-rc2

for you to fetch changes up to 735df0ff6ece7b8759a744158f5d246fae4739f4:

Documentation: driver core: remove use of BUS_ATTR (2019-01-08 15:17:45 +0100)

----------------------------------------------------------------
Driver core fixes for 5.0-rc2

Here is one small sysfs change, and a documentation update for 5.0-rc2

The sysfs change moves from using BUG_ON to WARN_ON, as discussed in an
email thread on lkml while trying to track down another driver bug.
sysfs should not be crashing and preventing people from seeing where
they went wrong. Now it properly recovers and warns the developer.

The documentation update removes the use of BUS_ATTR() as the kernel is
moving away from this to use the specific BUS_ATTR_RW() and friends
instead. There are pending patches in all of the different subsystems
to remove the last users of this macro, but for now, don't advertise it
should be used anymore to keep new ones from being introduced.

Both have been in linux-next with no reported issues.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

----------------------------------------------------------------
Greg Kroah-Hartman (2):
sysfs: convert BUG_ON to WARN_ON
Documentation: driver core: remove use of BUS_ATTR

Documentation/driver-model/bus.txt | 8 ++++----
Documentation/filesystems/sysfs.txt | 4 +++-
fs/sysfs/dir.c | 3 ++-
fs/sysfs/file.c | 6 ++++--
fs/sysfs/group.c | 3 ++-
fs/sysfs/symlink.c | 3 ++-
6 files changed, 17 insertions(+), 10 deletions(-)

\
 
 \ /
  Last update: 2019-01-13 11:25    [W:0.043 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site