Home
last modified time | relevance | path

Searched hist:fc4e78481afa33585195e896f0f9d9cec1129c80 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/char/ipmi/
H A Dipmi_ssif.cdiff fc4e78481afa33585195e896f0f9d9cec1129c80 Thu Oct 21 06:06:08 CDT 2021 Ye Guojin <ye.guojin@zte.com.cn> char: ipmi: replace snprintf in show functions with sysfs_emit

coccicheck complains about the use of snprintf() in sysfs show
functions:
WARNING use scnprintf or sprintf

Use sysfs_emit instead of scnprintf, snprintf or sprintf makes more
sense.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn>
Message-Id: <20211021110608.1060260-1-ye.guojin@zte.com.cn>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
H A Dipmi_msghandler.cdiff fc4e78481afa33585195e896f0f9d9cec1129c80 Thu Oct 21 06:06:08 CDT 2021 Ye Guojin <ye.guojin@zte.com.cn> char: ipmi: replace snprintf in show functions with sysfs_emit

coccicheck complains about the use of snprintf() in sysfs show
functions:
WARNING use scnprintf or sprintf

Use sysfs_emit instead of scnprintf, snprintf or sprintf makes more
sense.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn>
Message-Id: <20211021110608.1060260-1-ye.guojin@zte.com.cn>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
H A Dipmi_si_intf.cdiff fc4e78481afa33585195e896f0f9d9cec1129c80 Thu Oct 21 06:06:08 CDT 2021 Ye Guojin <ye.guojin@zte.com.cn> char: ipmi: replace snprintf in show functions with sysfs_emit

coccicheck complains about the use of snprintf() in sysfs show
functions:
WARNING use scnprintf or sprintf

Use sysfs_emit instead of scnprintf, snprintf or sprintf makes more
sense.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn>
Message-Id: <20211021110608.1060260-1-ye.guojin@zte.com.cn>
Signed-off-by: Corey Minyard <cminyard@mvista.com>