The nes_cm_ops structure is never modified, so declare it as const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/infiniband/hw/nes/nes_cm.c |2 +-
drivers/infiniband/hw/nes/nes_cm.h |2 +-
2 files changed, 2 insertions(+), 2
The iser_reg_ops structures are never modified, so declare them as const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/infiniband/ulp/iser/iscsi_iser.h |2 +-
drivers/infiniband/ulp/iser/iser_memory.c |4 ++--
2 files changed, 3