Re: linux-next: Tree for Jan 21 (mmc/host/sdhci-of-aspeed-test.c)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: config-r7330.gz
Description: application/gzip


[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux