* drivers/mmc/host/sdhci-of-aspeed-test.c:47:1: warning: the frame size of 1152 bytes is larger than 1024 bytes
@ 2021-12-27 3:41 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-12-27 3:41 UTC (permalink / raw)
To: Andrew Jeffery; +Cc: kbuild-all, linux-kernel, Ulf Hansson
Hi Andrew,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fc74e0a40e4f9fd0468e34045b0c45bba11dcbb2
commit: 0bbcd22556ef203b29e39a6ce1bd7e9523b6032e mmc: sdhci-of-aspeed: Add KUnit tests for phase calculations
date: 11 months ago
config: powerpc-randconfig-p001-20211227 (https://download.01.org/0day-ci/archive/20211227/202112271108.eI8nE2E5-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0bbcd22556ef203b29e39a6ce1bd7e9523b6032e
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 0bbcd22556ef203b29e39a6ce1bd7e9523b6032e
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/mmc/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/mmc/host/sdhci-of-aspeed.c:583:
drivers/mmc/host/sdhci-of-aspeed-test.c: In function 'aspeed_sdhci_phase_ddr52':
>> drivers/mmc/host/sdhci-of-aspeed-test.c:47:1: warning: the frame size of 1152 bytes is larger than 1024 bytes [-Wframe-larger-than=]
47 | }
| ^
vim +47 drivers/mmc/host/sdhci-of-aspeed-test.c
5
6 static void aspeed_sdhci_phase_ddr52(struct kunit *test)
7 {
8 int rate = 52000000;
9
10 KUNIT_EXPECT_EQ(test, 0,
11 aspeed_sdhci_phase_to_tap(NULL, rate, 0));
12 KUNIT_EXPECT_EQ(test, 0,
13 aspeed_sdhci_phase_to_tap(NULL, rate, 1));
14 KUNIT_EXPECT_EQ(test, 1,
15 aspeed_sdhci_phase_to_tap(NULL, rate, 2));
16 KUNIT_EXPECT_EQ(test, 1,
17 aspeed_sdhci_phase_to_tap(NULL, rate, 3));
18 KUNIT_EXPECT_EQ(test, 2,
19 aspeed_sdhci_phase_to_tap(NULL, rate, 4));
20 KUNIT_EXPECT_EQ(test, 3,
21 aspeed_sdhci_phase_to_tap(NULL, rate, 5));
22 KUNIT_EXPECT_EQ(test, 14,
23 aspeed_sdhci_phase_to_tap(NULL, rate, 23));
24 KUNIT_EXPECT_EQ(test, 15,
25 aspeed_sdhci_phase_to_tap(NULL, rate, 24));
26 KUNIT_EXPECT_EQ(test, 15,
27 aspeed_sdhci_phase_to_tap(NULL, rate, 25));
28
29 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 0,
30 aspeed_sdhci_phase_to_tap(NULL, rate, 180));
31 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 0,
32 aspeed_sdhci_phase_to_tap(NULL, rate, 181));
33 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 1,
34 aspeed_sdhci_phase_to_tap(NULL, rate, 182));
35 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 1,
36 aspeed_sdhci_phase_to_tap(NULL, rate, 183));
37 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 2,
38 aspeed_sdhci_phase_to_tap(NULL, rate, 184));
39 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 3,
40 aspeed_sdhci_phase_to_tap(NULL, rate, 185));
41 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 14,
42 aspeed_sdhci_phase_to_tap(NULL, rate, 203));
43 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 15,
44 aspeed_sdhci_phase_to_tap(NULL, rate, 204));
45 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 15,
46 aspeed_sdhci_phase_to_tap(NULL, rate, 205));
> 47 }
48
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* drivers/mmc/host/sdhci-of-aspeed-test.c:47:1: warning: the frame size of 1152 bytes is larger than 1024 bytes
@ 2021-12-13 8:18 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-12-13 8:18 UTC (permalink / raw)
To: Andrew Jeffery; +Cc: kbuild-all, linux-kernel, Ulf Hansson
Hi Andrew,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2585cf9dfaaddf00b069673f27bb3f8530e2039c
commit: 0bbcd22556ef203b29e39a6ce1bd7e9523b6032e mmc: sdhci-of-aspeed: Add KUnit tests for phase calculations
date: 11 months ago
config: arm-randconfig-r014-20211212 (https://download.01.org/0day-ci/archive/20211213/202112131659.GRmtsTh2-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0bbcd22556ef203b29e39a6ce1bd7e9523b6032e
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 0bbcd22556ef203b29e39a6ce1bd7e9523b6032e
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/mmc/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/mmc/host/sdhci-of-aspeed.c:583:
drivers/mmc/host/sdhci-of-aspeed-test.c: In function 'aspeed_sdhci_phase_ddr52':
>> drivers/mmc/host/sdhci-of-aspeed-test.c:47:1: warning: the frame size of 1152 bytes is larger than 1024 bytes [-Wframe-larger-than=]
47 | }
| ^
drivers/mmc/host/sdhci-of-aspeed-test.c: In function 'aspeed_sdhci_phase_hs200':
drivers/mmc/host/sdhci-of-aspeed-test.c:86:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
86 | }
| ^
vim +47 drivers/mmc/host/sdhci-of-aspeed-test.c
5
6 static void aspeed_sdhci_phase_ddr52(struct kunit *test)
7 {
8 int rate = 52000000;
9
10 KUNIT_EXPECT_EQ(test, 0,
11 aspeed_sdhci_phase_to_tap(NULL, rate, 0));
12 KUNIT_EXPECT_EQ(test, 0,
13 aspeed_sdhci_phase_to_tap(NULL, rate, 1));
14 KUNIT_EXPECT_EQ(test, 1,
15 aspeed_sdhci_phase_to_tap(NULL, rate, 2));
16 KUNIT_EXPECT_EQ(test, 1,
17 aspeed_sdhci_phase_to_tap(NULL, rate, 3));
18 KUNIT_EXPECT_EQ(test, 2,
19 aspeed_sdhci_phase_to_tap(NULL, rate, 4));
20 KUNIT_EXPECT_EQ(test, 3,
21 aspeed_sdhci_phase_to_tap(NULL, rate, 5));
22 KUNIT_EXPECT_EQ(test, 14,
23 aspeed_sdhci_phase_to_tap(NULL, rate, 23));
24 KUNIT_EXPECT_EQ(test, 15,
25 aspeed_sdhci_phase_to_tap(NULL, rate, 24));
26 KUNIT_EXPECT_EQ(test, 15,
27 aspeed_sdhci_phase_to_tap(NULL, rate, 25));
28
29 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 0,
30 aspeed_sdhci_phase_to_tap(NULL, rate, 180));
31 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 0,
32 aspeed_sdhci_phase_to_tap(NULL, rate, 181));
33 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 1,
34 aspeed_sdhci_phase_to_tap(NULL, rate, 182));
35 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 1,
36 aspeed_sdhci_phase_to_tap(NULL, rate, 183));
37 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 2,
38 aspeed_sdhci_phase_to_tap(NULL, rate, 184));
39 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 3,
40 aspeed_sdhci_phase_to_tap(NULL, rate, 185));
41 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 14,
42 aspeed_sdhci_phase_to_tap(NULL, rate, 203));
43 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 15,
44 aspeed_sdhci_phase_to_tap(NULL, rate, 204));
45 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 15,
46 aspeed_sdhci_phase_to_tap(NULL, rate, 205));
> 47 }
48
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* drivers/mmc/host/sdhci-of-aspeed-test.c:47:1: warning: the frame size of 1152 bytes is larger than 1024 bytes
@ 2021-11-25 3:16 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-11-25 3:16 UTC (permalink / raw)
To: Andrew Jeffery; +Cc: kbuild-all, linux-kernel, Ulf Hansson
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5f53fa508db098c9d372423a6dac31c8a5679cdf
commit: 0bbcd22556ef203b29e39a6ce1bd7e9523b6032e mmc: sdhci-of-aspeed: Add KUnit tests for phase calculations
date: 10 months ago
config: powerpc-randconfig-r011-20211122 (https://download.01.org/0day-ci/archive/20211125/202111251155.avGLQdO3-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0bbcd22556ef203b29e39a6ce1bd7e9523b6032e
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 0bbcd22556ef203b29e39a6ce1bd7e9523b6032e
# save the config file to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/mmc/host/sdhci-of-aspeed.c:583:
drivers/mmc/host/sdhci-of-aspeed-test.c: In function 'aspeed_sdhci_phase_ddr52':
>> drivers/mmc/host/sdhci-of-aspeed-test.c:47:1: warning: the frame size of 1152 bytes is larger than 1024 bytes [-Wframe-larger-than=]
47 | }
| ^
vim +47 drivers/mmc/host/sdhci-of-aspeed-test.c
5
6 static void aspeed_sdhci_phase_ddr52(struct kunit *test)
7 {
8 int rate = 52000000;
9
10 KUNIT_EXPECT_EQ(test, 0,
11 aspeed_sdhci_phase_to_tap(NULL, rate, 0));
12 KUNIT_EXPECT_EQ(test, 0,
13 aspeed_sdhci_phase_to_tap(NULL, rate, 1));
14 KUNIT_EXPECT_EQ(test, 1,
15 aspeed_sdhci_phase_to_tap(NULL, rate, 2));
16 KUNIT_EXPECT_EQ(test, 1,
17 aspeed_sdhci_phase_to_tap(NULL, rate, 3));
18 KUNIT_EXPECT_EQ(test, 2,
19 aspeed_sdhci_phase_to_tap(NULL, rate, 4));
20 KUNIT_EXPECT_EQ(test, 3,
21 aspeed_sdhci_phase_to_tap(NULL, rate, 5));
22 KUNIT_EXPECT_EQ(test, 14,
23 aspeed_sdhci_phase_to_tap(NULL, rate, 23));
24 KUNIT_EXPECT_EQ(test, 15,
25 aspeed_sdhci_phase_to_tap(NULL, rate, 24));
26 KUNIT_EXPECT_EQ(test, 15,
27 aspeed_sdhci_phase_to_tap(NULL, rate, 25));
28
29 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 0,
30 aspeed_sdhci_phase_to_tap(NULL, rate, 180));
31 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 0,
32 aspeed_sdhci_phase_to_tap(NULL, rate, 181));
33 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 1,
34 aspeed_sdhci_phase_to_tap(NULL, rate, 182));
35 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 1,
36 aspeed_sdhci_phase_to_tap(NULL, rate, 183));
37 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 2,
38 aspeed_sdhci_phase_to_tap(NULL, rate, 184));
39 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 3,
40 aspeed_sdhci_phase_to_tap(NULL, rate, 185));
41 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 14,
42 aspeed_sdhci_phase_to_tap(NULL, rate, 203));
43 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 15,
44 aspeed_sdhci_phase_to_tap(NULL, rate, 204));
45 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 15,
46 aspeed_sdhci_phase_to_tap(NULL, rate, 205));
> 47 }
48
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* drivers/mmc/host/sdhci-of-aspeed-test.c:47:1: warning: the frame size of 1152 bytes is larger than 1024 bytes
@ 2021-04-24 23:49 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-04-24 23:49 UTC (permalink / raw)
To: Andrew Jeffery; +Cc: kbuild-all, linux-kernel, Ulf Hansson
[-- Attachment #1: Type: text/plain, Size: 3722 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2a1d7946fa53cea2083e5981ff55a8176ab2be6b
commit: 0bbcd22556ef203b29e39a6ce1bd7e9523b6032e mmc: sdhci-of-aspeed: Add KUnit tests for phase calculations
date: 3 months ago
config: riscv-randconfig-r005-20210425 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0bbcd22556ef203b29e39a6ce1bd7e9523b6032e
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 0bbcd22556ef203b29e39a6ce1bd7e9523b6032e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/mmc/host/sdhci-of-aspeed.c:583:
drivers/mmc/host/sdhci-of-aspeed-test.c: In function 'aspeed_sdhci_phase_ddr52':
>> drivers/mmc/host/sdhci-of-aspeed-test.c:47:1: warning: the frame size of 1152 bytes is larger than 1024 bytes [-Wframe-larger-than=]
47 | }
| ^
vim +47 drivers/mmc/host/sdhci-of-aspeed-test.c
5
6 static void aspeed_sdhci_phase_ddr52(struct kunit *test)
7 {
8 int rate = 52000000;
9
10 KUNIT_EXPECT_EQ(test, 0,
11 aspeed_sdhci_phase_to_tap(NULL, rate, 0));
12 KUNIT_EXPECT_EQ(test, 0,
13 aspeed_sdhci_phase_to_tap(NULL, rate, 1));
14 KUNIT_EXPECT_EQ(test, 1,
15 aspeed_sdhci_phase_to_tap(NULL, rate, 2));
16 KUNIT_EXPECT_EQ(test, 1,
17 aspeed_sdhci_phase_to_tap(NULL, rate, 3));
18 KUNIT_EXPECT_EQ(test, 2,
19 aspeed_sdhci_phase_to_tap(NULL, rate, 4));
20 KUNIT_EXPECT_EQ(test, 3,
21 aspeed_sdhci_phase_to_tap(NULL, rate, 5));
22 KUNIT_EXPECT_EQ(test, 14,
23 aspeed_sdhci_phase_to_tap(NULL, rate, 23));
24 KUNIT_EXPECT_EQ(test, 15,
25 aspeed_sdhci_phase_to_tap(NULL, rate, 24));
26 KUNIT_EXPECT_EQ(test, 15,
27 aspeed_sdhci_phase_to_tap(NULL, rate, 25));
28
29 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 0,
30 aspeed_sdhci_phase_to_tap(NULL, rate, 180));
31 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 0,
32 aspeed_sdhci_phase_to_tap(NULL, rate, 181));
33 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 1,
34 aspeed_sdhci_phase_to_tap(NULL, rate, 182));
35 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 1,
36 aspeed_sdhci_phase_to_tap(NULL, rate, 183));
37 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 2,
38 aspeed_sdhci_phase_to_tap(NULL, rate, 184));
39 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 3,
40 aspeed_sdhci_phase_to_tap(NULL, rate, 185));
41 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 14,
42 aspeed_sdhci_phase_to_tap(NULL, rate, 203));
43 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 15,
44 aspeed_sdhci_phase_to_tap(NULL, rate, 204));
45 KUNIT_EXPECT_EQ(test, (int)ASPEED_SDHCI_TAP_PARAM_INVERT_CLK | 15,
46 aspeed_sdhci_phase_to_tap(NULL, rate, 205));
> 47 }
48
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31716 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-12-27 3:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-27 3:41 drivers/mmc/host/sdhci-of-aspeed-test.c:47:1: warning: the frame size of 1152 bytes is larger than 1024 bytes kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2021-12-13 8:18 kernel test robot
2021-11-25 3:16 kernel test robot
2021-04-24 23:49 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).