Searched hist:bf064c7bec3bfe7e28889774dc9e0ca4f7236775 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/char/ipmi/ |
H A D | ipmi_si_intf.c | diff bf064c7bec3bfe7e28889774dc9e0ca4f7236775 Fri Jul 30 01:29:51 CDT 2021 Dwaipayan Ray <dwaipayanray1@gmail.com> char: ipmi: use DEVICE_ATTR helper macro
Instead of open coding DEVICE_ATTR, use the helper macro DEVICE_ATTR_RO to replace DEVICE_ATTR with 0444 octal permissions.
This was detected as a part of checkpatch evaluation investigating all reports of DEVICE_ATTR_RO warning type.
Signed-off-by: Dwaipayan Ray <dwaipayanray1@gmail.com> Message-Id: <20210730062951.84876-1-dwaipayanray1@gmail.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
|