All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Prasanth, KSR" <kosigiprasanth@gmail.com>,
	Hans de Goede <hdegoede@redhat.com>,
	dvhart@infradead.org
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	LKML <linux-kernel@vger.kernel.org>,
	platform-driver-x86@vger.kernel.org,
	Prasanth KSR <prasanth.ksr@dell.com>,
	Divya Bharathi <divya.bharathi@dell.com>,
	Mario Limonciello <mario.limonciello@dell.com>
Subject: Re: [PATCH] IOCTL support for dell-wmi-sysman driver
Date: Wed, 10 Feb 2021 06:34:36 +0800	[thread overview]
Message-ID: <202102100636.g5vLK6kF-lkp@intel.com> (raw)
In-Reply-To: <20210209142826.42728-1-prasanth.ksr@dell.com>

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

Hi KSR",

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.11-rc7 next-20210125]
[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/Prasanth-KSR/IOCTL-support-for-dell-wmi-sysman-driver/20210209-223343
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 61556703b610a104de324e4f061dc6cf7b218b46
config: x86_64-randconfig-a015-20210209 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/00141bcb2495c75a902d3070e149760b1050322e
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Prasanth-KSR/IOCTL-support-for-dell-wmi-sysman-driver/20210209-223343
        git checkout 00141bcb2495c75a902d3070e149760b1050322e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

All warnings (new ones prefixed by >>):

>> drivers/platform/x86/dell-wmi-sysman/sysman.c:310:5: warning: no previous prototype for function 'validate_acpi_type' [-Wmissing-prototypes]
   int validate_acpi_type(union acpi_object *obj, const char *guid_string)
       ^
   drivers/platform/x86/dell-wmi-sysman/sysman.c:310:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int validate_acpi_type(union acpi_object *obj, const char *guid_string)
   ^
   static 
   1 warning generated.
--
>> drivers/platform/x86/dell-wmi-sysman/biosattr-interface.c:218:5: warning: no previous prototype for function 'run_sysman_call' [-Wmissing-prototypes]
   int run_sysman_call(struct dell_wmi_sysman_buffer *buf)
       ^
   drivers/platform/x86/dell-wmi-sysman/biosattr-interface.c:218:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int run_sysman_call(struct dell_wmi_sysman_buffer *buf)
   ^
   static 
   1 warning generated.


vim +/validate_acpi_type +310 drivers/platform/x86/dell-wmi-sysman/sysman.c

   309	
 > 310	int validate_acpi_type(union acpi_object *obj, const char *guid_string)
   311	{
   312		u32 acpi_type;
   313	
   314		if (strcmp(guid_string, DELL_WMI_BIOS_INTEGER_ATTRIBUTE_GUID) == 0)
   315			acpi_type = ACPI_TYPE_INTEGER;
   316		else
   317			acpi_type = ACPI_TYPE_STRING;
   318	
   319		if (obj->package.elements[CURRENT_VAL].type != acpi_type)
   320			return -EIO;
   321	
   322		return 0;
   323	}
   324	

---
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: 41107 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] IOCTL support for dell-wmi-sysman driver
Date: Wed, 10 Feb 2021 06:34:36 +0800	[thread overview]
Message-ID: <202102100636.g5vLK6kF-lkp@intel.com> (raw)
In-Reply-To: <20210209142826.42728-1-prasanth.ksr@dell.com>

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

Hi KSR",

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.11-rc7 next-20210125]
[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/Prasanth-KSR/IOCTL-support-for-dell-wmi-sysman-driver/20210209-223343
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 61556703b610a104de324e4f061dc6cf7b218b46
config: x86_64-randconfig-a015-20210209 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/00141bcb2495c75a902d3070e149760b1050322e
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Prasanth-KSR/IOCTL-support-for-dell-wmi-sysman-driver/20210209-223343
        git checkout 00141bcb2495c75a902d3070e149760b1050322e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

All warnings (new ones prefixed by >>):

>> drivers/platform/x86/dell-wmi-sysman/sysman.c:310:5: warning: no previous prototype for function 'validate_acpi_type' [-Wmissing-prototypes]
   int validate_acpi_type(union acpi_object *obj, const char *guid_string)
       ^
   drivers/platform/x86/dell-wmi-sysman/sysman.c:310:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int validate_acpi_type(union acpi_object *obj, const char *guid_string)
   ^
   static 
   1 warning generated.
--
>> drivers/platform/x86/dell-wmi-sysman/biosattr-interface.c:218:5: warning: no previous prototype for function 'run_sysman_call' [-Wmissing-prototypes]
   int run_sysman_call(struct dell_wmi_sysman_buffer *buf)
       ^
   drivers/platform/x86/dell-wmi-sysman/biosattr-interface.c:218:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int run_sysman_call(struct dell_wmi_sysman_buffer *buf)
   ^
   static 
   1 warning generated.


vim +/validate_acpi_type +310 drivers/platform/x86/dell-wmi-sysman/sysman.c

   309	
 > 310	int validate_acpi_type(union acpi_object *obj, const char *guid_string)
   311	{
   312		u32 acpi_type;
   313	
   314		if (strcmp(guid_string, DELL_WMI_BIOS_INTEGER_ATTRIBUTE_GUID) == 0)
   315			acpi_type = ACPI_TYPE_INTEGER;
   316		else
   317			acpi_type = ACPI_TYPE_STRING;
   318	
   319		if (obj->package.elements[CURRENT_VAL].type != acpi_type)
   320			return -EIO;
   321	
   322		return 0;
   323	}
   324	

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

  parent reply	other threads:[~2021-02-10  1:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-09 14:28 [PATCH] IOCTL support for dell-wmi-sysman driver Prasanth, KSR
2021-02-09 17:48 ` kernel test robot
2021-02-09 17:48   ` kernel test robot
2021-02-09 17:57 ` Hans de Goede
2021-03-15  4:19   ` Prasanth, KSR
2021-02-09 22:34 ` kernel test robot [this message]
2021-02-09 22:34   ` kernel test robot

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=202102100636.g5vLK6kF-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=divya.bharathi@dell.com \
    --cc=dvhart@infradead.org \
    --cc=hdegoede@redhat.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kosigiprasanth@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mario.limonciello@dell.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=prasanth.ksr@dell.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 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.