]> 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)
commit7571ab584254f80f0002a1eb4832dbb11ac0579c
tree3457af4778120d3fd538aacf20d65f286d11c8ad
parente166d9fdd6b3a3c7aad26c3e50784aa890b5b6ca
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