linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Patricia Alfonso <trishalfonso@google.com>,
	Linux Next Mailing List <linux-next@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	David Gow <davidgow@google.com>
Subject: linux-next: build warning after merge of the akpm-current tree
Date: Mon, 14 Sep 2020 17:00:55 +1000	[thread overview]
Message-ID: <20200914170055.45a02b55@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 11077 bytes --]

Hi all,

After merging the akpm-current tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

In file included from lib/test_kasan_module.c:16:
lib/../mm/kasan/kasan.h:232:6: warning: conflicting types for built-in function '__asan_register_globals'; expected 'void(void *, long int)' [-Wbuiltin-declaration-mismatch]
  232 | void __asan_register_globals(struct kasan_global *globals, size_t size);
      |      ^~~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:233:6: warning: conflicting types for built-in function '__asan_unregister_globals'; expected 'void(void *, long int)' [-Wbuiltin-declaration-mismatch]
  233 | void __asan_unregister_globals(struct kasan_global *globals, size_t size);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:235:6: warning: conflicting types for built-in function '__asan_alloca_poison'; expected 'void(void *, long int)' [-Wbuiltin-declaration-mismatch]
  235 | void __asan_alloca_poison(unsigned long addr, size_t size);
      |      ^~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:236:6: warning: conflicting types for built-in function '__asan_allocas_unpoison'; expected 'void(void *, long int)' [-Wbuiltin-declaration-mismatch]
  236 | void __asan_allocas_unpoison(const void *stack_top, const void *stack_bottom);
      |      ^~~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:238:6: warning: conflicting types for built-in function '__asan_load1'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  238 | void __asan_load1(unsigned long addr);
      |      ^~~~~~~~~~~~
lib/../mm/kasan/kasan.h:239:6: warning: conflicting types for built-in function '__asan_store1'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  239 | void __asan_store1(unsigned long addr);
      |      ^~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:240:6: warning: conflicting types for built-in function '__asan_load2'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  240 | void __asan_load2(unsigned long addr);
      |      ^~~~~~~~~~~~
lib/../mm/kasan/kasan.h:241:6: warning: conflicting types for built-in function '__asan_store2'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  241 | void __asan_store2(unsigned long addr);
      |      ^~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:242:6: warning: conflicting types for built-in function '__asan_load4'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  242 | void __asan_load4(unsigned long addr);
      |      ^~~~~~~~~~~~
lib/../mm/kasan/kasan.h:243:6: warning: conflicting types for built-in function '__asan_store4'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  243 | void __asan_store4(unsigned long addr);
      |      ^~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:244:6: warning: conflicting types for built-in function '__asan_load8'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  244 | void __asan_load8(unsigned long addr);
      |      ^~~~~~~~~~~~
lib/../mm/kasan/kasan.h:245:6: warning: conflicting types for built-in function '__asan_store8'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  245 | void __asan_store8(unsigned long addr);
      |      ^~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:246:6: warning: conflicting types for built-in function '__asan_load16'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  246 | void __asan_load16(unsigned long addr);
      |      ^~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:247:6: warning: conflicting types for built-in function '__asan_store16'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  247 | void __asan_store16(unsigned long addr);
      |      ^~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:248:6: warning: conflicting types for built-in function '__asan_loadN'; expected 'void(void *, long int)' [-Wbuiltin-declaration-mismatch]
  248 | void __asan_loadN(unsigned long addr, size_t size);
      |      ^~~~~~~~~~~~
lib/../mm/kasan/kasan.h:249:6: warning: conflicting types for built-in function '__asan_storeN'; expected 'void(void *, long int)' [-Wbuiltin-declaration-mismatch]
  249 | void __asan_storeN(unsigned long addr, size_t size);
      |      ^~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:251:6: warning: conflicting types for built-in function '__asan_load1_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  251 | void __asan_load1_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:252:6: warning: conflicting types for built-in function '__asan_store1_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  252 | void __asan_store1_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:253:6: warning: conflicting types for built-in function '__asan_load2_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  253 | void __asan_load2_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:254:6: warning: conflicting types for built-in function '__asan_store2_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  254 | void __asan_store2_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:255:6: warning: conflicting types for built-in function '__asan_load4_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  255 | void __asan_load4_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:256:6: warning: conflicting types for built-in function '__asan_store4_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  256 | void __asan_store4_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:257:6: warning: conflicting types for built-in function '__asan_load8_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  257 | void __asan_load8_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:258:6: warning: conflicting types for built-in function '__asan_store8_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  258 | void __asan_store8_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:259:6: warning: conflicting types for built-in function '__asan_load16_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  259 | void __asan_load16_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:260:6: warning: conflicting types for built-in function '__asan_store16_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  260 | void __asan_store16_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:261:6: warning: conflicting types for built-in function '__asan_loadN_noabort'; expected 'void(void *, long int)' [-Wbuiltin-declaration-mismatch]
  261 | void __asan_loadN_noabort(unsigned long addr, size_t size);
      |      ^~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:262:6: warning: conflicting types for built-in function '__asan_storeN_noabort'; expected 'void(void *, long int)' [-Wbuiltin-declaration-mismatch]
  262 | void __asan_storeN_noabort(unsigned long addr, size_t size);
      |      ^~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:264:6: warning: conflicting types for built-in function '__asan_report_load1_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  264 | void __asan_report_load1_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:265:6: warning: conflicting types for built-in function '__asan_report_store1_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  265 | void __asan_report_store1_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:266:6: warning: conflicting types for built-in function '__asan_report_load2_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  266 | void __asan_report_load2_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:267:6: warning: conflicting types for built-in function '__asan_report_store2_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  267 | void __asan_report_store2_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:268:6: warning: conflicting types for built-in function '__asan_report_load4_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  268 | void __asan_report_load4_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:269:6: warning: conflicting types for built-in function '__asan_report_store4_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  269 | void __asan_report_store4_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:270:6: warning: conflicting types for built-in function '__asan_report_load8_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  270 | void __asan_report_load8_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:271:6: warning: conflicting types for built-in function '__asan_report_store8_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  271 | void __asan_report_store8_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:272:6: warning: conflicting types for built-in function '__asan_report_load16_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  272 | void __asan_report_load16_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:273:6: warning: conflicting types for built-in function '__asan_report_store16_noabort'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch]
  273 | void __asan_report_store16_noabort(unsigned long addr);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:274:6: warning: conflicting types for built-in function '__asan_report_load_n_noabort'; expected 'void(void *, long int)' [-Wbuiltin-declaration-mismatch]
  274 | void __asan_report_load_n_noabort(unsigned long addr, size_t size);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/../mm/kasan/kasan.h:275:6: warning: conflicting types for built-in function '__asan_report_store_n_noabort'; expected 'void(void *, long int)' [-Wbuiltin-declaration-mismatch]
  275 | void __asan_report_store_n_noabort(unsigned long addr, size_t size);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c: In function 'common_nfc_set_geometry':
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c:514:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  514 |   nanddev_get_ecc_requirements(&chip->base);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  77e7d1c8c356 ("KASAN: Port KASAN Tests to KUnit")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2020-09-14  7:01 UTC|newest]

Thread overview: 157+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-14  7:00 Stephen Rothwell [this message]
2020-09-15  4:03 ` linux-next: build warning after merge of the akpm-current tree David Gow
2020-09-15  4:16   ` Stephen Rothwell
2020-09-15  9:57   ` Marco Elver
  -- strict thread matches above, loose matches on Subject: below --
2022-04-27  6:41 Stephen Rothwell
2022-04-27 14:15 ` Liam Howlett
2022-04-13  5:15 Stephen Rothwell
2022-04-13  6:20 ` Yu Zhao
2022-02-09  5:58 Stephen Rothwell
2022-02-09  8:09 ` Huang, Ying
2022-02-07  4:06 Stephen Rothwell
2022-02-02  3:54 Stephen Rothwell
2022-02-03 23:06 ` Andrew Morton
2022-02-03 23:21   ` Randy Dunlap
2022-01-06 15:45 Stephen Rothwell
2021-12-23 23:12 Stephen Rothwell
2021-11-23  5:26 Stephen Rothwell
2021-11-23  8:38 ` Suren Baghdasaryan
2021-11-23 19:03   ` Suren Baghdasaryan
2021-11-23 22:26     ` Stephen Rothwell
2021-11-23 22:30       ` Suren Baghdasaryan
2021-07-19  7:52 Stephen Rothwell
2021-07-19  8:47 ` Feng Tang
2021-05-21  5:39 Stephen Rothwell
2021-05-21  6:53 ` Miaohe Lin
2021-03-30 20:04 Stephen Rothwell
2021-03-15  5:35 Stephen Rothwell
2021-03-16 18:18 ` Minchan Kim
2021-03-16 21:49   ` Stephen Rothwell
2021-03-16 23:09     ` Jonathan Corbet
2021-03-17 13:22       ` Mauro Carvalho Chehab
2020-12-10  9:38 Stephen Rothwell
2020-12-10 16:05 ` Georgi Djakov
2020-11-13  6:01 Stephen Rothwell
2020-11-16 10:03 ` Andy Shevchenko
2020-11-06  6:26 Stephen Rothwell
2020-11-05  6:45 Stephen Rothwell
2020-11-05  7:03 ` Mike Rapoport
2020-11-05  7:42   ` Anand K. Mistry
2020-11-05  7:45     ` Anand K. Mistry
2020-11-05  9:17       ` Mike Rapoport
2020-11-05  8:00     ` Stephen Rothwell
2020-11-05  8:03       ` Stephen Rothwell
2020-09-14  6:57 Stephen Rothwell
2020-07-17 10:31 Stephen Rothwell
2020-07-17 17:47 ` Roman Gushchin
2020-07-09  9:11 Stephen Rothwell
2020-06-21 14:40 Stephen Rothwell
2020-03-31  8:56 Stephen Rothwell
2020-04-01 22:58 ` Andrew Morton
2020-04-01 23:00   ` Jason Gunthorpe
2020-04-01 23:06     ` Mike Kravetz
2020-03-13 10:42 Stephen Rothwell
2020-03-13 10:55 ` Baoquan He
2020-03-13 12:56 ` Baoquan He
2020-03-14  0:09   ` Stephen Rothwell
2020-03-14  0:35     ` Baoquan He
2020-03-16  4:58 ` Baoquan He
2020-03-16  6:13   ` Stephen Rothwell
2020-03-16  6:51     ` Baoquan He
2020-03-16  6:54     ` Stephen Rothwell
2020-03-12  7:31 Stephen Rothwell
2020-03-12 16:48 ` Mike Kravetz
2020-03-12  7:27 Stephen Rothwell
2020-03-13  0:31 ` Andrew Morton
2020-03-05  5:37 Stephen Rothwell
2020-03-05  5:54 ` Dmitry Vyukov
2020-03-07  5:03   ` Walter Wu
2020-03-05  8:54 ` Walter Wu
2020-03-05  9:33   ` Stephen Rothwell
2020-03-06 18:59     ` Walter Wu
2020-03-06 20:45       ` Walter Wu
2020-02-17  2:00 Stephen Rothwell
2019-11-06  7:05 Stephen Rothwell
2019-11-06  7:52 ` Shaokun Zhang
2019-11-06  6:54 Stephen Rothwell
2019-08-07  8:00 Stephen Rothwell
2019-08-07 11:29 ` Rikard Falkeborn
2019-08-07 23:31   ` Stephen Rothwell
2019-07-31  6:16 Stephen Rothwell
2019-07-31 12:01 ` Jia-Ju Bai
2019-07-31  6:11 Stephen Rothwell
2019-07-31  6:28 ` Miles Chen
2019-08-01  5:51   ` Stephen Rothwell
2019-08-01  6:15     ` Michal Hocko
2019-08-01  6:30       ` Miles Chen
2019-08-01  6:38         ` Michal Hocko
2019-08-01  6:39         ` Stephen Rothwell
2019-08-01  6:42           ` Miles Chen
2019-07-29  3:48 Stephen Rothwell
2019-07-29  3:44 Stephen Rothwell
2019-05-30  4:55 Stephen Rothwell
2019-05-30  9:02 ` Matteo Croce
2019-03-29  2:39 Stephen Rothwell
2019-04-16  6:52 ` Stephen Rothwell
2019-04-16 22:45   ` Andrew Morton
2019-01-31  5:01 Stephen Rothwell
2018-06-08  4:45 Stephen Rothwell
2018-05-04  4:17 Stephen Rothwell
2018-05-04 15:39 ` Randy Dunlap
2018-05-07 14:10   ` Minchan Kim
2018-05-07 16:47     ` Randy Dunlap
2018-05-08 10:48       ` Minchan Kim
2018-04-06  4:53 Stephen Rothwell
2018-01-02  7:04 Stephen Rothwell
2017-12-15  2:48 Stephen Rothwell
2017-11-23  2:01 Stephen Rothwell
2017-11-13  5:54 Stephen Rothwell
2017-11-13  5:42 Stephen Rothwell
2017-11-13  8:09 ` Michal Hocko
2017-11-13  8:23   ` Michal Hocko
2017-11-13 11:43   ` Arnd Bergmann
2017-11-13 11:54     ` Michal Hocko
2017-11-13 12:24       ` Arnd Bergmann
2017-11-13 12:29       ` Michal Hocko
2017-11-16 22:44     ` Stephen Rothwell
2017-11-17  3:53       ` Stephen Rothwell
2017-11-17  9:36         ` Zhangshaokun
2017-11-17  9:56         ` Arnd Bergmann
2017-08-01  5:22 Stephen Rothwell
2017-05-26  2:43 Stephen Rothwell
2017-05-26 10:16 ` Jeff Layton
2017-05-26 11:28   ` Dave Kleikamp
2017-05-19  4:44 Stephen Rothwell
2017-05-15  1:56 Stephen Rothwell
2017-05-15  4:02 ` Xunlei Pang
2017-05-15  5:07   ` Stephen Rothwell
2017-02-02  6:49 Stephen Rothwell
2016-11-09  4:10 Stephen Rothwell
2016-11-09  7:18 ` Huang Shijie
2016-11-09 21:21   ` Andrew Morton
2016-11-10  2:56     ` Stephen Rothwell
2016-06-23  6:53 Stephen Rothwell
2016-06-23 14:00 ` Mel Gorman
2016-05-27  3:07 Stephen Rothwell
2016-05-27 19:53 ` Andrew Morton
2016-04-29  6:45 Stephen Rothwell
2016-04-29  6:55 ` Stephen Rothwell
2016-04-29 13:32 ` Josh Poimboeuf
2016-04-29 14:03   ` Josh Poimboeuf
2016-04-30  5:52     ` Stephen Rothwell
2015-07-16  5:26 Stephen Rothwell
2015-07-16 23:00 ` Andrew Morton
2015-06-04 12:29 Stephen Rothwell
2015-06-04 13:56 ` Andrea Arcangeli
2015-02-04  7:48 Stephen Rothwell
2015-02-04  7:53 ` Jan Kiszka
2015-01-19  7:45 Stephen Rothwell
2015-01-19 15:50 ` Chris Mason
2014-10-30  5:19 Stephen Rothwell
2014-10-30  9:00 ` Aneesh Kumar K.V
2014-09-26 10:42 Stephen Rothwell
2014-09-29 21:30 ` Andrew Morton
2014-09-08  8:57 Stephen Rothwell
2014-06-20  5:27 Stephen Rothwell
2014-06-20  5:29 ` Yinghai Lu
2014-06-16  1:57 Stephen Rothwell

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=20200914170055.45a02b55@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=akpm@linux-foundation.org \
    --cc=davidgow@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=trishalfonso@google.com \
    /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;
as well as URLs for NNTP newsgroup(s).