Skip to contentSkip to conversation

Driver core fixes for 5.1-rc3

GIT PULL Merged Greg KH 3 participants 4 messages Mar 29, 2019 – Mar 30, 2019

lore
Share & tools
lore

Greg KH

author
#0 lore raw

The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b:

Linux 5.1-rc1 (2019-03-17 14:22:26 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-5.1-rc3

for you to fetch changes up to cd1b772d4881d1cd15b90ec17aab9ac7950e8850:

driver core: remove BUS_ATTR() (2019-03-18 07:07:30 +0100)

----------------------------------------------------------------
Driver core patch for 5.1-rc3

Here is a single driver core patch for 5.1-rc3.

After 5.1-rc1, all of the users of BUS_ATTR() are finally removed, so we can now drop this macro from include/linux/device.h so that no more new users will be created.

This patch has been in linux-next for a while, with no reported issues.

----------------------------------------------------------------
Greg Kroah-Hartman (1):
driver core: remove BUS_ATTR()

 include/linux/device.h | 2 --
 1 file changed, 2 deletions(-)
#1 lore raw
Quoted 4 lines · Greg KH

After 5.1-rc1, all of the users of BUS_ATTR() are finally removed, so we can now drop this macro from include/linux/device.h so that no more new users will be created.

Note that a quick grep shows that it still exists in the Chinese translation of filesystems/sysfs.txt..

Also mentioned in a comment, but at least there it talks about the "old macro".

Linus

author
#2 lore raw
Quoted 8 lines · Linus Torvalds
Quoted 4 lines · Greg KH

After 5.1-rc1, all of the users of BUS_ATTR() are finally removed, so we can now drop this macro from include/linux/device.h so that no more new users will be created.

Note that a quick grep shows that it still exists in the Chinese translation of filesystems/sysfs.txt..

Yeah, I wasn't going to touch that :)

Usually the translations take a few versions to sync back up again, as they watch the English version for changes.

Quoted 1 line

Also mentioned in a comment, but at least there it talks about the "old macro".

Yes, I had to "open code" it in one place so I tried to document why it was done that way.

thanks,

greg k-h

merge bot Merged
#3 lore raw
In reply to Greg KH
The pull request you sent on Fri, 29 Mar 2019 20:39:44 +0100:

The pull request you sent on Fri, 29 Mar 2019 20:39:44 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-5.1-rc3

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

Thank you!

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