All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Linux ACPI <linux-acpi@vger.kernel.org>
Cc: kbuild-all@lists.01.org, LKML <linux-kernel@vger.kernel.org>,
	Erik Kaneda <erik.kaneda@intel.com>
Subject: Re: [PATCH v1 4/6] ACPI: scan: Clean up printing messages
Date: Fri, 22 Jan 2021 05:24:03 +0800	[thread overview]
Message-ID: <202101220553.uY5p8NkM-lkp@intel.com> (raw)
In-Reply-To: <32235625.20C0QTXHV0@kreacher>

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

Hi "Rafael,

I love your patch! Yet something to improve:

[auto build test ERROR on pm/linux-next]
[also build test ERROR on linux/master linus/master v5.11-rc4 next-20210121]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Rafael-J-Wysocki/ACPI-Clean-up-printing-messages-in-some-source-files/20210121-030855
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-rhel (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/c8724c26fcedf4a30fdfa9213c38a2f94c4bc0ef
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Rafael-J-Wysocki/ACPI-Clean-up-printing-messages-in-some-source-files/20210121-030855
        git checkout c8724c26fcedf4a30fdfa9213c38a2f94c4bc0ef
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from include/acpi/acpi.h:29,
                    from include/linux/acpi.h:22,
                    from drivers/acpi/scan.c:10:
   drivers/acpi/scan.c: In function 'acpi_get_device_data':
>> include/acpi/acoutput.h:258:55: error: '_COMPONENT' undeclared (first use in this function)
     258 |  __LINE__, ACPI_GET_FUNCTION_NAME, _acpi_module_name, _COMPONENT
         |                                                       ^~~~~~~~~~
   include/acpi/acoutput.h:281:44: note: in definition of macro 'ACPI_DO_WHILE0'
     281 | #define ACPI_DO_WHILE0(a)               do a while(0)
         |                                            ^
   include/acpi/acoutput.h:299:7: note: in expansion of macro 'ACPI_IS_DEBUG_ENABLED'
     299 |   if (ACPI_IS_DEBUG_ENABLED (level, component)) \
         |       ^~~~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:306:2: note: in expansion of macro 'ACPI_DO_DEBUG_PRINT'
     306 |  ACPI_DO_DEBUG_PRINT (acpi_debug_print, level, line, \
         |  ^~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:313:41: note: in expansion of macro 'ACPI_ACTUAL_DEBUG'
     313 | #define ACPI_DEBUG_PRINT(plist)         ACPI_ACTUAL_DEBUG plist
         |                                         ^~~~~~~~~~~~~~~~~
   drivers/acpi/scan.c:591:3: note: in expansion of macro 'ACPI_DEBUG_PRINT'
     591 |   ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No context for object [%p]\n",
         |   ^~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:107:46: note: in expansion of macro 'ACPI_DEBUG_PARAMETERS'
     107 | #define ACPI_DEBUG_LEVEL(dl)        (u32) dl,ACPI_DEBUG_PARAMETERS
         |                                              ^~~~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:117:37: note: in expansion of macro 'ACPI_DEBUG_LEVEL'
     117 | #define ACPI_DB_INFO                ACPI_DEBUG_LEVEL (ACPI_LV_INFO)
         |                                     ^~~~~~~~~~~~~~~~
   drivers/acpi/scan.c:591:21: note: in expansion of macro 'ACPI_DB_INFO'
     591 |   ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No context for object [%p]\n",
         |                     ^~~~~~~~~~~~
   include/acpi/acoutput.h:258:55: note: each undeclared identifier is reported only once for each function it appears in
     258 |  __LINE__, ACPI_GET_FUNCTION_NAME, _acpi_module_name, _COMPONENT
         |                                                       ^~~~~~~~~~
   include/acpi/acoutput.h:281:44: note: in definition of macro 'ACPI_DO_WHILE0'
     281 | #define ACPI_DO_WHILE0(a)               do a while(0)
         |                                            ^
   include/acpi/acoutput.h:299:7: note: in expansion of macro 'ACPI_IS_DEBUG_ENABLED'
     299 |   if (ACPI_IS_DEBUG_ENABLED (level, component)) \
         |       ^~~~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:306:2: note: in expansion of macro 'ACPI_DO_DEBUG_PRINT'
     306 |  ACPI_DO_DEBUG_PRINT (acpi_debug_print, level, line, \
         |  ^~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:313:41: note: in expansion of macro 'ACPI_ACTUAL_DEBUG'
     313 | #define ACPI_DEBUG_PRINT(plist)         ACPI_ACTUAL_DEBUG plist
         |                                         ^~~~~~~~~~~~~~~~~
   drivers/acpi/scan.c:591:3: note: in expansion of macro 'ACPI_DEBUG_PRINT'
     591 |   ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No context for object [%p]\n",
         |   ^~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:107:46: note: in expansion of macro 'ACPI_DEBUG_PARAMETERS'
     107 | #define ACPI_DEBUG_LEVEL(dl)        (u32) dl,ACPI_DEBUG_PARAMETERS
         |                                              ^~~~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:117:37: note: in expansion of macro 'ACPI_DEBUG_LEVEL'
     117 | #define ACPI_DB_INFO                ACPI_DEBUG_LEVEL (ACPI_LV_INFO)
         |                                     ^~~~~~~~~~~~~~~~
   drivers/acpi/scan.c:591:21: note: in expansion of macro 'ACPI_DB_INFO'
     591 |   ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No context for object [%p]\n",
         |                     ^~~~~~~~~~~~
>> include/acpi/acoutput.h:258:36: error: '_acpi_module_name' undeclared (first use in this function); did you mean 'quota_module_name'?
     258 |  __LINE__, ACPI_GET_FUNCTION_NAME, _acpi_module_name, _COMPONENT
         |                                    ^~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:281:44: note: in definition of macro 'ACPI_DO_WHILE0'
     281 | #define ACPI_DO_WHILE0(a)               do a while(0)
         |                                            ^
   include/acpi/acoutput.h:306:2: note: in expansion of macro 'ACPI_DO_DEBUG_PRINT'
     306 |  ACPI_DO_DEBUG_PRINT (acpi_debug_print, level, line, \
         |  ^~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:313:41: note: in expansion of macro 'ACPI_ACTUAL_DEBUG'
     313 | #define ACPI_DEBUG_PRINT(plist)         ACPI_ACTUAL_DEBUG plist
         |                                         ^~~~~~~~~~~~~~~~~
   drivers/acpi/scan.c:591:3: note: in expansion of macro 'ACPI_DEBUG_PRINT'
     591 |   ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No context for object [%p]\n",
         |   ^~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:107:46: note: in expansion of macro 'ACPI_DEBUG_PARAMETERS'
     107 | #define ACPI_DEBUG_LEVEL(dl)        (u32) dl,ACPI_DEBUG_PARAMETERS
         |                                              ^~~~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:117:37: note: in expansion of macro 'ACPI_DEBUG_LEVEL'
     117 | #define ACPI_DB_INFO                ACPI_DEBUG_LEVEL (ACPI_LV_INFO)
         |                                     ^~~~~~~~~~~~~~~~
   drivers/acpi/scan.c:591:21: note: in expansion of macro 'ACPI_DB_INFO'
     591 |   ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No context for object [%p]\n",
         |                     ^~~~~~~~~~~~


vim +/_COMPONENT +258 include/acpi/acoutput.h

50df4d8b0f6e1971 Bob Moore 2008-12-31  252  
50df4d8b0f6e1971 Bob Moore 2008-12-31  253  /*
50df4d8b0f6e1971 Bob Moore 2008-12-31  254   * Common parameters used for debug output functions:
50df4d8b0f6e1971 Bob Moore 2008-12-31  255   * line number, function name, module(file) name, component ID
50df4d8b0f6e1971 Bob Moore 2008-12-31  256   */
ad5a06f296976305 Bob Moore 2012-12-31  257  #define ACPI_DEBUG_PARAMETERS \
ad5a06f296976305 Bob Moore 2012-12-31 @258  	__LINE__, ACPI_GET_FUNCTION_NAME, _acpi_module_name, _COMPONENT
50df4d8b0f6e1971 Bob Moore 2008-12-31  259  

---
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: 45928 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v1 4/6] ACPI: scan: Clean up printing messages
Date: Fri, 22 Jan 2021 05:24:03 +0800	[thread overview]
Message-ID: <202101220553.uY5p8NkM-lkp@intel.com> (raw)
In-Reply-To: <32235625.20C0QTXHV0@kreacher>

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

Hi "Rafael,

I love your patch! Yet something to improve:

[auto build test ERROR on pm/linux-next]
[also build test ERROR on linux/master linus/master v5.11-rc4 next-20210121]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Rafael-J-Wysocki/ACPI-Clean-up-printing-messages-in-some-source-files/20210121-030855
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-rhel (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/c8724c26fcedf4a30fdfa9213c38a2f94c4bc0ef
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Rafael-J-Wysocki/ACPI-Clean-up-printing-messages-in-some-source-files/20210121-030855
        git checkout c8724c26fcedf4a30fdfa9213c38a2f94c4bc0ef
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from include/acpi/acpi.h:29,
                    from include/linux/acpi.h:22,
                    from drivers/acpi/scan.c:10:
   drivers/acpi/scan.c: In function 'acpi_get_device_data':
>> include/acpi/acoutput.h:258:55: error: '_COMPONENT' undeclared (first use in this function)
     258 |  __LINE__, ACPI_GET_FUNCTION_NAME, _acpi_module_name, _COMPONENT
         |                                                       ^~~~~~~~~~
   include/acpi/acoutput.h:281:44: note: in definition of macro 'ACPI_DO_WHILE0'
     281 | #define ACPI_DO_WHILE0(a)               do a while(0)
         |                                            ^
   include/acpi/acoutput.h:299:7: note: in expansion of macro 'ACPI_IS_DEBUG_ENABLED'
     299 |   if (ACPI_IS_DEBUG_ENABLED (level, component)) \
         |       ^~~~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:306:2: note: in expansion of macro 'ACPI_DO_DEBUG_PRINT'
     306 |  ACPI_DO_DEBUG_PRINT (acpi_debug_print, level, line, \
         |  ^~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:313:41: note: in expansion of macro 'ACPI_ACTUAL_DEBUG'
     313 | #define ACPI_DEBUG_PRINT(plist)         ACPI_ACTUAL_DEBUG plist
         |                                         ^~~~~~~~~~~~~~~~~
   drivers/acpi/scan.c:591:3: note: in expansion of macro 'ACPI_DEBUG_PRINT'
     591 |   ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No context for object [%p]\n",
         |   ^~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:107:46: note: in expansion of macro 'ACPI_DEBUG_PARAMETERS'
     107 | #define ACPI_DEBUG_LEVEL(dl)        (u32) dl,ACPI_DEBUG_PARAMETERS
         |                                              ^~~~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:117:37: note: in expansion of macro 'ACPI_DEBUG_LEVEL'
     117 | #define ACPI_DB_INFO                ACPI_DEBUG_LEVEL (ACPI_LV_INFO)
         |                                     ^~~~~~~~~~~~~~~~
   drivers/acpi/scan.c:591:21: note: in expansion of macro 'ACPI_DB_INFO'
     591 |   ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No context for object [%p]\n",
         |                     ^~~~~~~~~~~~
   include/acpi/acoutput.h:258:55: note: each undeclared identifier is reported only once for each function it appears in
     258 |  __LINE__, ACPI_GET_FUNCTION_NAME, _acpi_module_name, _COMPONENT
         |                                                       ^~~~~~~~~~
   include/acpi/acoutput.h:281:44: note: in definition of macro 'ACPI_DO_WHILE0'
     281 | #define ACPI_DO_WHILE0(a)               do a while(0)
         |                                            ^
   include/acpi/acoutput.h:299:7: note: in expansion of macro 'ACPI_IS_DEBUG_ENABLED'
     299 |   if (ACPI_IS_DEBUG_ENABLED (level, component)) \
         |       ^~~~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:306:2: note: in expansion of macro 'ACPI_DO_DEBUG_PRINT'
     306 |  ACPI_DO_DEBUG_PRINT (acpi_debug_print, level, line, \
         |  ^~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:313:41: note: in expansion of macro 'ACPI_ACTUAL_DEBUG'
     313 | #define ACPI_DEBUG_PRINT(plist)         ACPI_ACTUAL_DEBUG plist
         |                                         ^~~~~~~~~~~~~~~~~
   drivers/acpi/scan.c:591:3: note: in expansion of macro 'ACPI_DEBUG_PRINT'
     591 |   ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No context for object [%p]\n",
         |   ^~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:107:46: note: in expansion of macro 'ACPI_DEBUG_PARAMETERS'
     107 | #define ACPI_DEBUG_LEVEL(dl)        (u32) dl,ACPI_DEBUG_PARAMETERS
         |                                              ^~~~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:117:37: note: in expansion of macro 'ACPI_DEBUG_LEVEL'
     117 | #define ACPI_DB_INFO                ACPI_DEBUG_LEVEL (ACPI_LV_INFO)
         |                                     ^~~~~~~~~~~~~~~~
   drivers/acpi/scan.c:591:21: note: in expansion of macro 'ACPI_DB_INFO'
     591 |   ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No context for object [%p]\n",
         |                     ^~~~~~~~~~~~
>> include/acpi/acoutput.h:258:36: error: '_acpi_module_name' undeclared (first use in this function); did you mean 'quota_module_name'?
     258 |  __LINE__, ACPI_GET_FUNCTION_NAME, _acpi_module_name, _COMPONENT
         |                                    ^~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:281:44: note: in definition of macro 'ACPI_DO_WHILE0'
     281 | #define ACPI_DO_WHILE0(a)               do a while(0)
         |                                            ^
   include/acpi/acoutput.h:306:2: note: in expansion of macro 'ACPI_DO_DEBUG_PRINT'
     306 |  ACPI_DO_DEBUG_PRINT (acpi_debug_print, level, line, \
         |  ^~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:313:41: note: in expansion of macro 'ACPI_ACTUAL_DEBUG'
     313 | #define ACPI_DEBUG_PRINT(plist)         ACPI_ACTUAL_DEBUG plist
         |                                         ^~~~~~~~~~~~~~~~~
   drivers/acpi/scan.c:591:3: note: in expansion of macro 'ACPI_DEBUG_PRINT'
     591 |   ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No context for object [%p]\n",
         |   ^~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:107:46: note: in expansion of macro 'ACPI_DEBUG_PARAMETERS'
     107 | #define ACPI_DEBUG_LEVEL(dl)        (u32) dl,ACPI_DEBUG_PARAMETERS
         |                                              ^~~~~~~~~~~~~~~~~~~~~
   include/acpi/acoutput.h:117:37: note: in expansion of macro 'ACPI_DEBUG_LEVEL'
     117 | #define ACPI_DB_INFO                ACPI_DEBUG_LEVEL (ACPI_LV_INFO)
         |                                     ^~~~~~~~~~~~~~~~
   drivers/acpi/scan.c:591:21: note: in expansion of macro 'ACPI_DB_INFO'
     591 |   ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No context for object [%p]\n",
         |                     ^~~~~~~~~~~~


vim +/_COMPONENT +258 include/acpi/acoutput.h

50df4d8b0f6e1971 Bob Moore 2008-12-31  252  
50df4d8b0f6e1971 Bob Moore 2008-12-31  253  /*
50df4d8b0f6e1971 Bob Moore 2008-12-31  254   * Common parameters used for debug output functions:
50df4d8b0f6e1971 Bob Moore 2008-12-31  255   * line number, function name, module(file) name, component ID
50df4d8b0f6e1971 Bob Moore 2008-12-31  256   */
ad5a06f296976305 Bob Moore 2012-12-31  257  #define ACPI_DEBUG_PARAMETERS \
ad5a06f296976305 Bob Moore 2012-12-31 @258  	__LINE__, ACPI_GET_FUNCTION_NAME, _acpi_module_name, _COMPONENT
50df4d8b0f6e1971 Bob Moore 2008-12-31  259  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

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

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 18:56 [PATCH v1 0/6] ACPI: Clean up printing messages in some source files Rafael J. Wysocki
2021-01-20 18:57 ` [PATCH v1 1/6] ACPI: power: Clean up printing messages Rafael J. Wysocki
2021-01-20 18:58 ` [PATCH v1 2/6] ACPI: PM: " Rafael J. Wysocki
2021-01-20 18:59 ` [PATCH v1 3/6] ACPI: bus: " Rafael J. Wysocki
2021-01-20 18:59 ` [PATCH v1 4/6] ACPI: scan: " Rafael J. Wysocki
2021-01-21 21:24   ` kernel test robot [this message]
2021-01-21 21:24     ` kernel test robot
2021-01-20 19:00 ` [PATCH v1 5/6] ACPI: utils: " Rafael J. Wysocki
2021-01-20 19:01 ` [PATCH v1 6/6] ACPI: bus: Drop ACPI_BUS_COMPONENT which is not used any more Rafael J. Wysocki
2021-01-20 20:09 ` [PATCH v1 0/6] ACPI: Clean up printing messages in some source files Joe Perches

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=202101220553.uY5p8NkM-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=erik.kaneda@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.