All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Yang Li <yang.lee@linux.alibaba.com>, mchehab@kernel.org
Cc: kbuild-all@lists.01.org, s.nawrocki@samsung.com, krzk@kernel.org,
	linux-media@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
	Yang Li <yang.lee@linux.alibaba.com>
Subject: Re: [PATCH] media: exynos4-is: add missing call to of_node_put()
Date: Thu, 25 Feb 2021 19:16:04 +0800	[thread overview]
Message-ID: <202102251920.bsKdvmXw-lkp@intel.com> (raw)
In-Reply-To: <1614243836-54718-1-git-send-email-yang.lee@linux.alibaba.com>

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

Hi Yang,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v5.11 next-20210225]
[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/Yang-Li/media-exynos4-is-add-missing-call-to-of_node_put/20210225-170948
base:   git://linuxtv.org/media_tree.git master
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
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
        # https://github.com/0day-ci/linux/commit/46e168f580a04f0a6d7b33df84194f95bc780ee9
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Yang-Li/media-exynos4-is-add-missing-call-to-of_node_put/20210225-170948
        git checkout 46e168f580a04f0a6d7b33df84194f95bc780ee9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

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/media/platform/exynos4-is/media-dev.c: In function 'fimc_md_parse_port_node':
>> drivers/media/platform/exynos4-is/media-dev.c:491:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     491 |   if (ret < 0)
         |   ^~
   drivers/media/platform/exynos4-is/media-dev.c:493:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     493 |    return ret;
         |    ^~~~~~


vim +/if +491 drivers/media/platform/exynos4-is/media-dev.c

2b13f7d4e3822e drivers/media/platform/s5p-fimc/fimc-mdevice.c Sylwester Nawrocki 2013-03-29  481  
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  482  /* Parse port node and register as a sub-device any sensor specified there. */
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  483  static int fimc_md_parse_port_node(struct fimc_md *fmd,
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  484  				   struct device_node *port)
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  485  {
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  486  	struct device_node *ep;
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  487  	int ret;
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  488  
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  489  	for_each_child_of_node(port, ep) {
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  490  		ret = fimc_md_parse_one_endpoint(fmd, ep);
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31 @491  		if (ret < 0)
46e168f580a04f drivers/media/platform/exynos4-is/media-dev.c  Yang Li            2021-02-25  492  			of_node_put(ep);
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  493  			return ret;
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  494  	}
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  495  
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  496  	return 0;
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  497  }
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  498  

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Yang Li <yang.lee@linux.alibaba.com>, mchehab@kernel.org
Cc: linux-samsung-soc@vger.kernel.org, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org, krzk@kernel.org,
	Yang Li <yang.lee@linux.alibaba.com>,
	s.nawrocki@samsung.com, linux-arm-kernel@lists.infradead.org,
	linux-media@vger.kernel.org
Subject: Re: [PATCH] media: exynos4-is: add missing call to of_node_put()
Date: Thu, 25 Feb 2021 19:16:04 +0800	[thread overview]
Message-ID: <202102251920.bsKdvmXw-lkp@intel.com> (raw)
In-Reply-To: <1614243836-54718-1-git-send-email-yang.lee@linux.alibaba.com>

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

Hi Yang,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v5.11 next-20210225]
[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/Yang-Li/media-exynos4-is-add-missing-call-to-of_node_put/20210225-170948
base:   git://linuxtv.org/media_tree.git master
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
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
        # https://github.com/0day-ci/linux/commit/46e168f580a04f0a6d7b33df84194f95bc780ee9
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Yang-Li/media-exynos4-is-add-missing-call-to-of_node_put/20210225-170948
        git checkout 46e168f580a04f0a6d7b33df84194f95bc780ee9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

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/media/platform/exynos4-is/media-dev.c: In function 'fimc_md_parse_port_node':
>> drivers/media/platform/exynos4-is/media-dev.c:491:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     491 |   if (ret < 0)
         |   ^~
   drivers/media/platform/exynos4-is/media-dev.c:493:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     493 |    return ret;
         |    ^~~~~~


vim +/if +491 drivers/media/platform/exynos4-is/media-dev.c

2b13f7d4e3822e drivers/media/platform/s5p-fimc/fimc-mdevice.c Sylwester Nawrocki 2013-03-29  481  
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  482  /* Parse port node and register as a sub-device any sensor specified there. */
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  483  static int fimc_md_parse_port_node(struct fimc_md *fmd,
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  484  				   struct device_node *port)
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  485  {
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  486  	struct device_node *ep;
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  487  	int ret;
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  488  
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  489  	for_each_child_of_node(port, ep) {
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  490  		ret = fimc_md_parse_one_endpoint(fmd, ep);
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31 @491  		if (ret < 0)
46e168f580a04f drivers/media/platform/exynos4-is/media-dev.c  Yang Li            2021-02-25  492  			of_node_put(ep);
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  493  			return ret;
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  494  	}
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  495  
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  496  	return 0;
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  497  }
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  498  

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

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH] media: exynos4-is: add missing call to of_node_put()
Date: Thu, 25 Feb 2021 19:16:04 +0800	[thread overview]
Message-ID: <202102251920.bsKdvmXw-lkp@intel.com> (raw)
In-Reply-To: <1614243836-54718-1-git-send-email-yang.lee@linux.alibaba.com>

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

Hi Yang,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v5.11 next-20210225]
[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/Yang-Li/media-exynos4-is-add-missing-call-to-of_node_put/20210225-170948
base:   git://linuxtv.org/media_tree.git master
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
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
        # https://github.com/0day-ci/linux/commit/46e168f580a04f0a6d7b33df84194f95bc780ee9
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Yang-Li/media-exynos4-is-add-missing-call-to-of_node_put/20210225-170948
        git checkout 46e168f580a04f0a6d7b33df84194f95bc780ee9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

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/media/platform/exynos4-is/media-dev.c: In function 'fimc_md_parse_port_node':
>> drivers/media/platform/exynos4-is/media-dev.c:491:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     491 |   if (ret < 0)
         |   ^~
   drivers/media/platform/exynos4-is/media-dev.c:493:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     493 |    return ret;
         |    ^~~~~~


vim +/if +491 drivers/media/platform/exynos4-is/media-dev.c

2b13f7d4e3822e drivers/media/platform/s5p-fimc/fimc-mdevice.c Sylwester Nawrocki 2013-03-29  481  
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  482  /* Parse port node and register as a sub-device any sensor specified there. */
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  483  static int fimc_md_parse_port_node(struct fimc_md *fmd,
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  484  				   struct device_node *port)
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  485  {
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  486  	struct device_node *ep;
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  487  	int ret;
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  488  
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  489  	for_each_child_of_node(port, ep) {
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  490  		ret = fimc_md_parse_one_endpoint(fmd, ep);
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31 @491  		if (ret < 0)
46e168f580a04f drivers/media/platform/exynos4-is/media-dev.c  Yang Li            2021-02-25  492  			of_node_put(ep);
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  493  			return ret;
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  494  	}
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  495  
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  496  	return 0;
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  497  }
18174117ba18c5 drivers/media/platform/exynos4-is/media-dev.c  Jonathan Bakker    2020-07-31  498  

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

  reply	other threads:[~2021-02-25 11:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-25  9:03 [PATCH] media: exynos4-is: add missing call to of_node_put() Yang Li
2021-02-25  9:03 ` Yang Li
2021-02-25 11:16 ` kernel test robot [this message]
2021-02-25 11:16   ` kernel test robot
2021-02-25 11:16   ` kernel test robot
2021-02-25 14:41 ` Krzysztof Kozlowski
2021-02-25 14:41   ` Krzysztof Kozlowski

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=202102251920.bsKdvmXw-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=s.nawrocki@samsung.com \
    --cc=yang.lee@linux.alibaba.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.