From: kbuild test robot <fengguang.wu@intel.com>
To: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: drivers/staging/rtl8723au/core/rtw_security.c:529:1: warning: the frame size of 1076 bytes is larger than 1024 bytes
Date: Mon, 1 Feb 2016 12:29:11 +0800 [thread overview]
Message-ID: <201602011207.TJT5d9hK%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3204 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 36f90b0a2ddd60823fe193a85e60ff1906c2a9b3
commit: c6d308534aef6c99904bf5862066360ae067abc4 UBSAN: run-time undefined behavior sanity checker
date: 11 days ago
config: i386-randconfig-h1-02011158 (attached as .config)
reproduce:
git checkout c6d308534aef6c99904bf5862066360ae067abc4
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
drivers/staging/rtl8723au/core/rtw_security.c: In function 'phase1':
>> drivers/staging/rtl8723au/core/rtw_security.c:529:1: warning: the frame size of 1076 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
vim +529 drivers/staging/rtl8723au/core/rtw_security.c
5e93f352 Larry Finger 2014-03-28 513 p1k[2] = Mk16(ta[1], ta[0]); /* use TA[] as little-endian */
5e93f352 Larry Finger 2014-03-28 514 p1k[3] = Mk16(ta[3], ta[2]);
5e93f352 Larry Finger 2014-03-28 515 p1k[4] = Mk16(ta[5], ta[4]);
5e93f352 Larry Finger 2014-03-28 516
5e93f352 Larry Finger 2014-03-28 517 /* Now compute an unbalanced Feistel cipher with 80-bit block */
5e93f352 Larry Finger 2014-03-28 518 /* size on the 80-bit block P1K[], using the 128-bit key TK[] */
5db8bee6 Tina Ruchandani 2014-10-23 519 for (i = 0; i < PHASE1_LOOP_CNT; i++) {
5db8bee6 Tina Ruchandani 2014-10-23 520 /* Each add operation here is mod 2**16 */
5e93f352 Larry Finger 2014-03-28 521 p1k[0] += _S_(p1k[4] ^ TK16((i & 1) + 0));
5e93f352 Larry Finger 2014-03-28 522 p1k[1] += _S_(p1k[0] ^ TK16((i & 1) + 2));
5e93f352 Larry Finger 2014-03-28 523 p1k[2] += _S_(p1k[1] ^ TK16((i & 1) + 4));
5e93f352 Larry Finger 2014-03-28 524 p1k[3] += _S_(p1k[2] ^ TK16((i & 1) + 6));
5e93f352 Larry Finger 2014-03-28 525 p1k[4] += _S_(p1k[3] ^ TK16((i & 1) + 0));
5e93f352 Larry Finger 2014-03-28 526 p1k[4] += (unsigned short) i; /* avoid "slide attacks" */
5e93f352 Larry Finger 2014-03-28 527 }
5e93f352 Larry Finger 2014-03-28 528
5e93f352 Larry Finger 2014-03-28 @529 }
5e93f352 Larry Finger 2014-03-28 530
5e93f352 Larry Finger 2014-03-28 531 /*
5e93f352 Larry Finger 2014-03-28 532 **********************************************************************
5e93f352 Larry Finger 2014-03-28 533 * Routine: Phase 2 -- generate RC4KEY, given TK, P1K, IV16
5e93f352 Larry Finger 2014-03-28 534 *
5e93f352 Larry Finger 2014-03-28 535 * Inputs:
5e93f352 Larry Finger 2014-03-28 536 * tk[] = Temporal key [128 bits]
5e93f352 Larry Finger 2014-03-28 537 * p1k[] = Phase 1 output key [ 80 bits]
:::::: The code at line 529 was first introduced by commit
:::::: 5e93f35209578fcabfa855e427354195e54b491f staging: r8723au: Add source files for new driver - part 1
:::::: TO: Larry Finger <Larry.Finger@lwfinger.net>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 32349 bytes --]
reply other threads:[~2016-02-01 4:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201602011207.TJT5d9hK%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=akpm@linux-foundation.org \
--cc=aryabinin@virtuozzo.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox