macsec_linux: Make create_transmit_sc() handler use matching arguments

The currently unused conf_offset parameter used a mismatching type (enum
vs. unsigned int) compared to the prototype.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2018-11-30 17:36:46 +02:00 committed by Jouni Malinen
parent b82fcf06f2
commit b3f99d45d5

View file

@ -1009,7 +1009,7 @@ static struct rtnl_link * lookup_sc(struct nl_cache *cache, int parent, u64 sci)
*/
static int macsec_drv_create_transmit_sc(
void *priv, struct transmit_sc *sc,
enum confidentiality_offset conf_offset)
unsigned int conf_offset)
{
struct macsec_drv_data *drv = priv;
struct rtnl_link *link;