Re: [PATCH] qlcnic: constify qlcnic_mbx_ops structure
From: David Miller
Date: Tue Oct 13 2015 - 07:03:31 EST
From: Julia Lawall <Julia.Lawall@xxxxxxx>
Date: Sun, 11 Oct 2015 13:48:05 +0200
> The only instance of a qlcnic_mbx_ops structure is never modified. Thus
> the declaration of the structure and all references to the structure type
> can be made const.
>
> In the definition of the qlcnic_mailbox structure, the ops field is no
> longer lined up with the other fields. This was left as is, to avoid a lot
> of trivial changes on the other lines.
>
> Done with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxx>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/