On Mon, Sep 28, 2015 at 02:34:04PM +0200, Denys Vlasenko wrote:
> Seemingly innocuous sctp_trans_state_to_prio_map[] array
> is way bigger than it looks, since
> "[SCTP_UNKNOWN] = 2" expands into "[0xffff] = 2" !
> 
> This patch replaces it with switch() statement.
> 
> Signed-off-by: Denys Vlasenko <dvlas...@redhat.com>
> CC: Vlad Yasevich <vyasev...@gmail.com>
> CC: Neil Horman <nhor...@tuxdriver.com>
> CC: Marcelo Ricardo Leitner <marcelo.leit...@gmail.com>
> CC: linux-s...@vger.kernel.org
> CC: netdev@vger.kernel.org
> CC: linux-ker...@vger.kernel.org

Acked-by: Marcelo Ricardo Leitner <marcelo.leit...@gmail.com>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to