Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'driver-core-5.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core

Pull driver core fix from Greg KH:
"Here is a single sysfs fix for 5.4-rc5.

It resolves an error if you actually try to use the __BIN_ATTR_WO()
macro, seems I never tested it properly before :(

This has been in linux-next for a while with no reported issues"

* tag 'driver-core-5.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
sysfs: Fixes __BIN_ATTR_WO() macro

+2 -2
+2 -2
include/linux/sysfs.h
··· 196 196 .size = _size, \ 197 197 } 198 198 199 - #define __BIN_ATTR_WO(_name) { \ 199 + #define __BIN_ATTR_WO(_name, _size) { \ 200 200 .attr = { .name = __stringify(_name), .mode = 0200 }, \ 201 - .store = _name##_store, \ 201 + .write = _name##_write, \ 202 202 .size = _size, \ 203 203 } 204 204