]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'driver-core-5.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 13 Jan 2019 17:51:08 +0000 (05:51 +1200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 13 Jan 2019 17:51:08 +0000 (05:51 +1200)
commit2a078762a08f4c4ef0fd1471b810eefb130b23da
tree13f5b1b6e7cebfe80187654563868457b29e9034
parent4c9ff42cb8eb22f8ef2ad19a1910d82be8c1aa00
parent173e4f8fc2cd2bf0a6472704fd856383d6dc4513
Merge tag 'driver-core-5.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core

Pull driver core fixes from Greg KH:
 "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"

* tag 'driver-core-5.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
  Documentation: driver core: remove use of BUS_ATTR
  sysfs: convert BUG_ON to WARN_ON