Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3240562imm; Tue, 17 Jul 2018 01:08:52 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfsG3mZ/PZTki5AfaxJeCiXV7Y63RaW6fEQDWDzqXGT2ZKxwk/5jE0UQicXQvm/Rj/q0Ay1 X-Received: by 2002:a62:3b89:: with SMTP id w9-v6mr667237pfj.80.1531814932398; Tue, 17 Jul 2018 01:08:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531814932; cv=none; d=google.com; s=arc-20160816; b=H9zmcWPtbQduCvnuYUTC4XFbPnJu/uWEWYLnI252+aTJh6e7VeivU4hwyir70ZFav0 YlMqrhIDFXoqYo51C/bNPkx4D5fr+bIv76veQJNRcIBAhgddSfti/tUMtNiDefwxVGhf lvOFsBPj/Y06QkQYHJ+/PtAUSHm/IZXA3T2NO/dpqP3Sbx3rbUY2cYte7dIg0KVdIxxj vcC9daO8TgG7D4zR454z2Plg7okSgloKIj/lrMxpRpyKvDthroA9LZ6c6RVCS2Wxd0rD wtZiSnjlKBLN2SAW00OA+MBY/IIK8JpZlzIh9mu76zwNx3n0aei55dtmVMGuxSxIySot quLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=u7LR91i+lOJCNm8co/C0QoCF9mXkJ8b03cqCJRFTG6g=; b=xhyEwSaxf8Lro9kvX8maQ84azvuzPHbdoK4Cj7S1GbYOhNKX2IbmQShkPX9Dr8ET3/ sSrC2aaLpe5kJOso/4T/PjdBS4qRX00SsV1MJFb6kNOx7pehqvPi0iTMkJR4FHOMqXIN 1GgGmScxqLETJbnMAN0sjydJ3Jh+VOLDCZO2enTSPncb7DwEvwKWalx8BqSGF9pDrI8U GmQw3THvqSsG7U2aVq+n6JKpw2x8EmKHsNEsKZk4y84u4Xs251s6TMTo/pXbdZyDrWFc Nctx0tCPZl7r4+cEifZ8mNTOaFjMI7b7keoRDh3fiTK06PUGhbb/c3DxxV03p+IWlZwY zLQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d26-v6si383586pgd.32.2018.07.17.01.08.37; Tue, 17 Jul 2018 01:08:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729746AbeGQIiN (ORCPT + 99 others); Tue, 17 Jul 2018 04:38:13 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48980 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727796AbeGQIiN (ORCPT ); Tue, 17 Jul 2018 04:38:13 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 2E03EC74; Tue, 17 Jul 2018 08:06:50 +0000 (UTC) Date: Tue, 17 Jul 2018 10:06:48 +0200 From: Greg KH To: Ivan Safonov Cc: Stephen Rothwell , Linux-Next Mailing List , Linux Kernel Mailing List , Hans de Goede , Michael Straube Subject: Re: linux-next: build failure after merge of the staging tree Message-ID: <20180717080648.GA15755@kroah.com> References: <20180717162839.2f5e7053@canb.auug.org.au> <64f9c9c3-edf0-40b8-c3d1-60208025389b@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <64f9c9c3-edf0-40b8-c3d1-60208025389b@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 17, 2018 at 09:49:45AM +0300, Ivan Safonov wrote: > On 07/17/2018 09:28 AM, Stephen Rothwell wrote: > > Hi Greg, > > > > After merging the staging tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > > > drivers/staging/rtl8188eu/core/rtw_security.c: In function 'rtw_tkip_decrypt': > > drivers/staging/rtl8188eu/core/rtw_security.c:399:21: error: storage size of 'mycontext' isn't known > > struct arc4context mycontext; > > ^~~~~~~~~ > > drivers/staging/rtl8188eu/core/rtw_security.c:437:4: error: implicit declaration of function 'phase1' [-Werror=implicit-function-declaration] > > phase1((u16 *)&ttkey[0], prwskey, &prxattrib->ta[0], pnh); > > ^~~~~~ > > drivers/staging/rtl8188eu/core/rtw_security.c:438:4: error: implicit declaration of function 'phase2' [-Werror=implicit-function-declaration] > > phase2(&rc4key[0], prwskey, (unsigned short *)&ttkey[0], pnl); > > ^~~~~~ > > drivers/staging/rtl8188eu/core/rtw_security.c:442:4: error: implicit declaration of function 'arcfour_init'; did you mean 'rcu_init'? [-Werror=implicit-function-declaration] > > arcfour_init(&mycontext, rc4key, 16); > > ^~~~~~~~~~~~ > > rcu_init > > drivers/staging/rtl8188eu/core/rtw_security.c:443:4: error: implicit declaration of function 'arcfour_encrypt'; did you mean 'rtw_wep_encrypt'? [-Werror=implicit-function-declaration] > > arcfour_encrypt(&mycontext, payload, payload, length); > > ^~~~~~~~~~~~~~~ > > rtw_wep_encrypt > > drivers/staging/rtl8188eu/core/rtw_security.c:445:23: error: implicit declaration of function 'getcrc32'; did you mean 'get_cred'? [-Werror=implicit-function-declaration] > > *((__le32 *)crc) = getcrc32(payload, length-4); > > ^~~~~~~~ > > get_cred > > drivers/staging/rtl8188eu/core/rtw_security.c:399:21: warning: unused variable 'mycontext' [-Wunused-variable] > > struct arc4context mycontext; > > ^~~~~~~~~ > > > > Caused by commit > > > > 0d4876f4e977 ("staging:r8188eu: Use lib80211 to encrypt (TKIP) tx frames") > > > > interacting with commit > > > > 69a1d98c831e ("Revert "staging:r8188eu: Use lib80211 to support TKIP"") > > > > from the staging.current tree. > > > > I just reverted the staging.current commit ... > > > All commits using lib8022 in r8188eu cause the system to crash. I will > revert 5 commits in the near future (2 for decryption and 3 for encryption) > in one patch, it will be bit easier. > > I apologize for such an unpleasant situation. Not a problem, thanks for fixing this up. If you need me to merge the two branches together right now in order to make the patch apply easier, please let me know and I will be glad to do so. thanks, greg k-h