linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Driver core fixes for 5.0-rc2
@ 2019-01-13 10:24 Greg KH
  2019-01-13 18:05 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Greg KH @ 2019-01-13 10:24 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel

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(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] Driver core fixes for 5.0-rc2
  2019-01-13 10:24 [GIT PULL] Driver core fixes for 5.0-rc2 Greg KH
@ 2019-01-13 18:05 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2019-01-13 18:05 UTC (permalink / raw)
  To: Greg KH; +Cc: Linus Torvalds, Andrew Morton, linux-kernel

The pull request you sent on Sun, 13 Jan 2019 11:24:07 +0100:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/72d657dd2115804b93bde4b77e426cc2de70eebf

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-13 18:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-13 10:24 [GIT PULL] Driver core fixes for 5.0-rc2 Greg KH
2019-01-13 18:05 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).