sysfs: Fixes __BIN_ATTR_WO() macro
authorNayna Jain <nayna@linux.ibm.com>
Tue, 1 Oct 2019 23:37:18 +0000 (19:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Oct 2019 08:06:45 +0000 (10:06 +0200)
commit82af5b6609673f1cc7d3453d0be3d292dfffc813
tree86f144fd8875f045a3c7fd9730320c0d9ff3ee25
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
sysfs: Fixes __BIN_ATTR_WO() macro

This patch fixes the size and write parameter for the macro
__BIN_ATTR_WO().

Fixes: 7f905761e15a8 ("sysfs: add BIN_ATTR_WO() macro")
Signed-off-by: Nayna Jain <nayna@linux.ibm.com>
Link: https://lore.kernel.org/r/1569973038-2710-1-git-send-email-nayna@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/sysfs.h