Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 262c9740 authored by Hernán Gonzalez's avatar Hernán Gonzalez Committed by David S. Miller
Browse files

emulex/benet: Constify *be_misconfig_evt_port_state[]



Note: This is compile only tested as I have no access to the hw.
No benefit gained except for some self-documenting.

add/remove: 0/0 grow/shrink: 0/0 up/down: 0/0 (0)
Function                                     old     new   delta
Total: Before=2757703, After=2757703, chg +0.00%

Signed-off-by: default avatarHernán Gonzalez <hernan@vanguardiasur.com.ar>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4f4aaa17
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
#include "be.h"
#include "be_cmds.h"

char *be_misconfig_evt_port_state[] = {
const char * const be_misconfig_evt_port_state[] = {
	"Physical Link is functional",
	"Optics faulted/incorrectly installed/not installed - Reseat optics. If issue not resolved, replace.",
	"Optics of two types installed – Remove one optic or install matching pair of optics.",
+1 −1
Original line number Diff line number Diff line
@@ -201,7 +201,7 @@ enum {
			 phy_state == BE_PHY_UNQUALIFIED ||	\
			 phy_state == BE_PHY_UNCERTIFIED)

extern  char *be_misconfig_evt_port_state[];
extern const  char * const be_misconfig_evt_port_state[];

/* async event indicating misconfigured port */
struct be_async_event_misconfig_port {