]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: constify some struct and char arrays
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Fri, 13 Nov 2015 12:31:51 +0000 (13:31 +0100)
committerCorey Minyard <cminyard@mvista.com>
Tue, 12 Jan 2016 21:08:49 +0000 (15:08 -0600)
commit826c408aad43a592b7c3cd181084197ffc51683b
tree3457af4778120d3fd538aacf20d65f286d11c8ad
parent2cda69885c27b7a34e513bd764393db679c520ae
ipmi: constify some struct and char arrays

Lots of char arrays could be set as const since they contain only literal
char arrays.
We could in the same time make const some struct members who are pointer
to those const char arrays.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c
drivers/char/ipmi/ipmi_si_intf.c