On Wed, 14 Feb 2018 10:55:17 +0200 Arkadi Sharshevsky <arka...@mellanox.com> wrote:
> +static mnl_cb_t mnlg_cb_array[NLMSG_MIN_TYPE] = { > + [NLMSG_NOOP] = mnlg_cb_noop, > + [NLMSG_ERROR] = mnlg_cb_error, > + [NLMSG_DONE] = mnlg_cb_stop, > + [NLMSG_OVERRUN] = mnlg_cb_noop, > +}; > + Could be const?