linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
	Linux Next Mailing List <linux-next@vger.kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Andrew Jeffery <andrew@aj.id.au>,
	linux-mmc <linux-mmc@vger.kernel.org>,
	Ulf Hansson <ulf.hansson@linaro.org>
Subject: Re: linux-next: Tree for Jan 21 (mmc/host/sdhci-of-aspeed-test.c)
Date: Thu, 21 Jan 2021 12:07:39 -0800	[thread overview]
Message-ID: <b221bec1-0f04-c81c-a82b-a8cd06434708@infradead.org> (raw)
In-Reply-To: <20210121182847.04ee4e32@canb.auug.org.au>

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

On 1/20/21 11:28 PM, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20210120:
> 


Hi,
I suppose that I have some config combo that has not been tested.


on i386:
CONFIG_MMC_SDHCI_OF_ASPEED=m
CONFIG_MMC_SDHCI_OF_ASPEED_TEST=y

Full randconfig file is attached.


In file included from ../drivers/mmc/host/sdhci-of-aspeed.c:11:0:
../include/linux/module.h:132:42: error: redefinition of ‘__inittest’
  static inline initcall_t __maybe_unused __inittest(void)  \
                                          ^
../include/kunit/test.h:306:2: note: in expansion of macro ‘module_init’
  module_init(kunit_test_suites_init);    \
  ^~~~~~~~~~~
../include/kunit/test.h:319:2: note: in expansion of macro ‘kunit_test_suites_for_module’
  kunit_test_suites_for_module(unique_array);          \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/kunit/test.h:342:2: note: in expansion of macro ‘__kunit_test_suites’
  __kunit_test_suites(__UNIQUE_ID(array),    \
  ^~~~~~~~~~~~~~~~~~~
../include/kunit/test.h:346:33: note: in expansion of macro ‘kunit_test_suites’
 #define kunit_test_suite(suite) kunit_test_suites(&suite)
                                 ^~~~~~~~~~~~~~~~~
../drivers/mmc/host/sdhci-of-aspeed-test.c:98:1: note: in expansion of macro ‘kunit_test_suite’
 kunit_test_suite(aspeed_sdhci_test_suite);
 ^~~~~~~~~~~~~~~~
../include/linux/module.h:132:42: note: previous definition of ‘__inittest’ was here
  static inline initcall_t __maybe_unused __inittest(void)  \
                                          ^
../drivers/mmc/host/sdhci-of-aspeed.c:573:1: note: in expansion of macro ‘module_init’
 module_init(aspeed_sdc_init);
 ^~~~~~~~~~~
../include/linux/module.h:134:6: error: redefinition of ‘init_module’
  int init_module(void) __copy(initfn) __attribute__((alias(#initfn)));
      ^
../include/kunit/test.h:306:2: note: in expansion of macro ‘module_init’
  module_init(kunit_test_suites_init);    \
  ^~~~~~~~~~~
../include/kunit/test.h:319:2: note: in expansion of macro ‘kunit_test_suites_for_module’
  kunit_test_suites_for_module(unique_array);          \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/kunit/test.h:342:2: note: in expansion of macro ‘__kunit_test_suites’
  __kunit_test_suites(__UNIQUE_ID(array),    \
  ^~~~~~~~~~~~~~~~~~~
../include/kunit/test.h:346:33: note: in expansion of macro ‘kunit_test_suites’
 #define kunit_test_suite(suite) kunit_test_suites(&suite)
                                 ^~~~~~~~~~~~~~~~~
../drivers/mmc/host/sdhci-of-aspeed-test.c:98:1: note: in expansion of macro ‘kunit_test_suite’
 kunit_test_suite(aspeed_sdhci_test_suite);
 ^~~~~~~~~~~~~~~~
../include/linux/module.h:134:6: note: previous definition of ‘init_module’ was here
  int init_module(void) __copy(initfn) __attribute__((alias(#initfn)));
      ^
../drivers/mmc/host/sdhci-of-aspeed.c:573:1: note: in expansion of macro ‘module_init’
 module_init(aspeed_sdc_init);
 ^~~~~~~~~~~
../include/linux/module.h:138:42: error: redefinition of ‘__exittest’
  static inline exitcall_t __maybe_unused __exittest(void)  \
                                          ^
../include/kunit/test.h:312:2: note: in expansion of macro ‘module_exit’
  module_exit(kunit_test_suites_exit)
  ^~~~~~~~~~~
../include/kunit/test.h:319:2: note: in expansion of macro ‘kunit_test_suites_for_module’
  kunit_test_suites_for_module(unique_array);          \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/kunit/test.h:342:2: note: in expansion of macro ‘__kunit_test_suites’
  __kunit_test_suites(__UNIQUE_ID(array),    \
  ^~~~~~~~~~~~~~~~~~~
../include/kunit/test.h:346:33: note: in expansion of macro ‘kunit_test_suites’
 #define kunit_test_suite(suite) kunit_test_suites(&suite)
                                 ^~~~~~~~~~~~~~~~~
../drivers/mmc/host/sdhci-of-aspeed-test.c:98:1: note: in expansion of macro ‘kunit_test_suite’
 kunit_test_suite(aspeed_sdhci_test_suite);
 ^~~~~~~~~~~~~~~~
../include/linux/module.h:138:42: note: previous definition of ‘__exittest’ was here
  static inline exitcall_t __maybe_unused __exittest(void)  \
                                          ^
../drivers/mmc/host/sdhci-of-aspeed.c:580:1: note: in expansion of macro ‘module_exit’
 module_exit(aspeed_sdc_exit);
 ^~~~~~~~~~~
../include/linux/module.h:140:7: error: redefinition of ‘cleanup_module’
  void cleanup_module(void) __copy(exitfn) __attribute__((alias(#exitfn)));
       ^
../include/kunit/test.h:312:2: note: in expansion of macro ‘module_exit’
  module_exit(kunit_test_suites_exit)
  ^~~~~~~~~~~
../include/kunit/test.h:319:2: note: in expansion of macro ‘kunit_test_suites_for_module’
  kunit_test_suites_for_module(unique_array);          \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/kunit/test.h:342:2: note: in expansion of macro ‘__kunit_test_suites’
  __kunit_test_suites(__UNIQUE_ID(array),    \
  ^~~~~~~~~~~~~~~~~~~
../include/kunit/test.h:346:33: note: in expansion of macro ‘kunit_test_suites’
 #define kunit_test_suite(suite) kunit_test_suites(&suite)
                                 ^~~~~~~~~~~~~~~~~
../drivers/mmc/host/sdhci-of-aspeed-test.c:98:1: note: in expansion of macro ‘kunit_test_suite’
 kunit_test_suite(aspeed_sdhci_test_suite);
 ^~~~~~~~~~~~~~~~
../include/linux/module.h:140:7: note: previous definition of ‘cleanup_module’ was here
  void cleanup_module(void) __copy(exitfn) __attribute__((alias(#exitfn)));
       ^
../drivers/mmc/host/sdhci-of-aspeed.c:580:1: note: in expansion of macro ‘module_exit’
 module_exit(aspeed_sdc_exit);



thanks.
-- 
~Randy
"He closes his eyes and drops the goggles.  You can't get hurt
by looking at a bitmap.  Or can you?"
(Neal Stephenson: Snow Crash)

[-- Attachment #2: config-r7330.gz --]
[-- Type: application/gzip, Size: 33511 bytes --]

  reply	other threads:[~2021-01-21 20:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-21  7:28 linux-next: Tree for Jan 21 Stephen Rothwell
2021-01-21 20:07 ` Randy Dunlap [this message]
2021-01-22  0:24   ` linux-next: Tree for Jan 21 (mmc/host/sdhci-of-aspeed-test.c) Andrew Jeffery

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=b221bec1-0f04-c81c-a82b-a8cd06434708@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=andrew@aj.id.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    --cc=ulf.hansson@linaro.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;
as well as URLs for NNTP newsgroup(s).