crypto/dpaa2_sec: fix build with GCC < 7
authorHemant Agrawal <hemant.agrawal@nxp.com>
Tue, 30 Jan 2018 09:23:30 +0000 (14:53 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 30 Jan 2018 13:56:02 +0000 (14:56 +0100)
commit367bc2a9fd7095ccf500977b276c6b70bf1b2df3
tree40e6ae90d217d09b08ac7fa6fededecbe7c3d81c
parent257515a50057fa97605cc13e5b3b9cc9f964c299
crypto/dpaa2_sec: fix build with GCC < 7

This patch fixes the compilation with compiler GCC < 7

dpaa2_sec/hw/rta/operation_cmd.h:12:32: error: unknown option after
 â€˜#pragma GCC diagnostic’ kind [-Werror=pragmas]
 #pragma GCC diagnostic ignored "-Wimplicit-fallthrough"

Fixes: 2ab9a9483196 ("crypto/dpaa2_sec: fix build with GCC 7")

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/crypto/dpaa2_sec/hw/rta/operation_cmd.h