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 <[email protected]>
> CC: Vlad Yasevich <[email protected]>
> CC: Neil Horman <[email protected]>
> CC: Marcelo Ricardo Leitner <[email protected]>
> CC: [email protected]
> CC: [email protected]
> CC: [email protected]

Acked-by: Marcelo Ricardo Leitner <[email protected]>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to