mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Seunghun Han <kkamagui@gmail.com>
Cc: kbuild-all@01.org, lv.zheng@intel.com, robert.moore@intel.com,
	rafael.j.wysocki@intel.com, linux-kernel@vger.kernel.org,
	Seunghun Han <kkamagui@gmail.com>
Subject: Re: [PATCH] acpi: acpica: fix acpi operand cache leak
Date: Sun, 12 Feb 2017 11:55:33 +0800	[thread overview]
Message-ID: <201702121118.E7nB7dcN%fengguang.wu@intel.com> (raw)
In-Reply-To: <1486867759-64141-1-git-send-email-kkamagui@gmail.com>

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

Hi Seunghun,

[auto build test WARNING on pm/linux-next]
[also build test WARNING on v4.10-rc7 next-20170210]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Seunghun-Han/acpi-acpica-fix-acpi-operand-cache-leak/20170212-105735
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: i386-randconfig-x003-201707 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/acpi/acpica/nsutils.c: In function 'acpi_ns_terminate':
>> drivers/acpi/acpica/nsutils.c:600:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
     union acpi_operand_object *prev;
     ^~~~~

vim +600 drivers/acpi/acpica/nsutils.c

^1da177e drivers/acpi/namespace/nsutils.c Linus Torvalds 2005-04-16  584   * FUNCTION:    acpi_ns_terminate
^1da177e drivers/acpi/namespace/nsutils.c Linus Torvalds 2005-04-16  585   *
^1da177e drivers/acpi/namespace/nsutils.c Linus Torvalds 2005-04-16  586   * PARAMETERS:  none
^1da177e drivers/acpi/namespace/nsutils.c Linus Torvalds 2005-04-16  587   *
^1da177e drivers/acpi/namespace/nsutils.c Linus Torvalds 2005-04-16  588   * RETURN:      none
^1da177e drivers/acpi/namespace/nsutils.c Linus Torvalds 2005-04-16  589   *
44f6c012 drivers/acpi/namespace/nsutils.c Robert Moore   2005-04-18  590   * DESCRIPTION: free memory allocated for namespace and ACPI table storage.
^1da177e drivers/acpi/namespace/nsutils.c Linus Torvalds 2005-04-16  591   *
^1da177e drivers/acpi/namespace/nsutils.c Linus Torvalds 2005-04-16  592   ******************************************************************************/
^1da177e drivers/acpi/namespace/nsutils.c Linus Torvalds 2005-04-16  593  
4be44fcd drivers/acpi/namespace/nsutils.c Len Brown      2005-08-05  594  void acpi_ns_terminate(void)
^1da177e drivers/acpi/namespace/nsutils.c Linus Torvalds 2005-04-16  595  {
3f69fe15 drivers/acpi/acpica/nsutils.c    Bob Moore      2013-11-21  596  	acpi_status status;
^1da177e drivers/acpi/namespace/nsutils.c Linus Torvalds 2005-04-16  597  
b229cf92 drivers/acpi/namespace/nsutils.c Bob Moore      2006-04-21  598  	ACPI_FUNCTION_TRACE(ns_terminate);
^1da177e drivers/acpi/namespace/nsutils.c Linus Torvalds 2005-04-16  599  
25823e78 drivers/acpi/acpica/nsutils.c    Bob Moore      2015-08-25 @600  	union acpi_operand_object *prev;
25823e78 drivers/acpi/acpica/nsutils.c    Bob Moore      2015-08-25  601  	union acpi_operand_object *next;
25823e78 drivers/acpi/acpica/nsutils.c    Bob Moore      2015-08-25  602  
25823e78 drivers/acpi/acpica/nsutils.c    Bob Moore      2015-08-25  603  	/* Delete any module-level code blocks */
25823e78 drivers/acpi/acpica/nsutils.c    Bob Moore      2015-08-25  604  
25823e78 drivers/acpi/acpica/nsutils.c    Bob Moore      2015-08-25  605  	next = acpi_gbl_module_code_list;
25823e78 drivers/acpi/acpica/nsutils.c    Bob Moore      2015-08-25  606  	while (next) {
25823e78 drivers/acpi/acpica/nsutils.c    Bob Moore      2015-08-25  607  		prev = next;
25823e78 drivers/acpi/acpica/nsutils.c    Bob Moore      2015-08-25  608  		next = next->method.mutex;

:::::: The code at line 600 was first introduced by commit
:::::: 25823e784aac78964ada0e49efe2766d2aeb9fa4 ACPICA: Add additional debug info/statements

:::::: TO: Bob Moore <robert.moore@intel.com>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

  reply	other threads:[~2017-02-12  3:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-12  2:49 Seunghun Han
2017-02-12  3:55 ` kbuild test robot [this message]
2017-02-14 22:35   ` Moore, Robert
2017-02-14 23:19     ` Seung Hun Han
2017-02-15  0:40       ` Seung Hun Han

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=201702121118.E7nB7dcN%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@01.org \
    --cc=kkamagui@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lv.zheng@intel.com \
    --cc=rafael.j.wysocki@intel.com \
    --cc=robert.moore@intel.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

all inboxes | Powered by JetHome®