Skip to contentSkip to conversation

backport for aead_request_set_ad()

DISCUSSION Arend van Spriel 2 participants 3 messages Jul 11, 2015

lore
Share & tools
lore
#0 lore raw

I am running backports on 4.2-rc1 source tree and hit following problem:

CC [M] /tmp/bp-test/net/mac80211/aes_ccm.o
/tmp/bp-test/net/mac80211/aes_ccm.c: In function ���ieee80211_aes_ccm_encrypt���:
/tmp/bp-test/net/mac80211/aes_ccm.c:41:2: error: implicit declaration of function ���aead_request_set_ad��� [-Werror=implicit-function-declaration]
aead_request_set_ad(aead_req, sg[0].length);
^
cc1: some warnings being treated as errors

Looking at commit 957e0fe62923 ("mac80211: Switch to new AEAD interface") introducing this call it seems not so trivial and may require a backports patch. Just wondering if anyone already had a shot at this one.

Regards,
Arend
--
To unsubscribe from this list: send the line "unsubscribe backports" in

#1 lore raw
Quoted 11 lines · Arend van Spriel

I am running backports on 4.2-rc1 source tree and hit following problem:

CC [M] /tmp/bp-test/net/mac80211/aes_ccm.o
/tmp/bp-test/net/mac80211/aes_ccm.c: In function ���ieee80211_aes_ccm_encrypt���:
/tmp/bp-test/net/mac80211/aes_ccm.c:41:2: error: implicit declaration of function ���aead_request_set_ad��� [-Werror=implicit-function-declaration]
aead_request_set_ad(aead_req, sg[0].length);
^
cc1: some warnings being treated as errors

Quoted 9 lines

Looking at commit 957e0fe62923 ("mac80211: Switch to new AEAD interface") introducing this call it seems not so trivial and may require a backports patch. Just wondering if anyone already had a shot at this one.

Regards,
Arend

Signature · 1 line
To unsubscribe from this list: send the line "unsubscribe backports" in

Hi Arend,

this is already in backports, see this commit:
https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/commit/?id=4d724eec

Hauke
--
To unsubscribe from this list: send the line "unsubscribe backports" in

#2 lore raw
Quoted 17 lines · Hauke Mehrtens
Quoted 16 lines · Arend van Spriel

I am running backports on 4.2-rc1 source tree and hit following problem:

   CC [M]  /tmp/bp-test/net/mac80211/aes_ccm.o

/tmp/bp-test/net/mac80211/aes_ccm.c: In function ���ieee80211_aes_ccm_encrypt���:
/tmp/bp-test/net/mac80211/aes_ccm.c:41:2: error: implicit declaration of function ���aead_request_set_ad��� [-Werror=implicit-function-declaration]

   aead_request_set_ad(aead_req, sg[0].length);
   ^

cc1: some warnings being treated as errors

Looking at commit 957e0fe62923 ("mac80211: Switch to new AEAD interface") introducing this call it seems not so trivial and may require a backports patch. Just wondering if anyone already had a shot at this one.

Quoted 8 lines
Quoted 4 lines

Regards,
Arend
--
To unsubscribe from this list: send the line "unsubscribe backports" in

Hi Arend,

this is already in backports, see this commit:
https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/commit/?id=4d724eec

Thanks, Hauke

That did the trick.

Regards,
Arend

Quoted 4 lines

Hauke
--
To unsubscribe from this list: send the line "unsubscribe backports" in

--
To unsubscribe from this list: send the line "unsubscribe backports" in