From: kbuild test robot <lkp@intel.com>
To: Laxman Dewangan <ldewangan@nvidia.com>
Cc: kbuild-all@01.org, rui.zhang@intel.com, edubezval@gmail.com,
robh+dt@kernel.org, linux-pm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Laxman Dewangan <ldewangan@nvidia.com>
Subject: Re: [PATCH V5 2/2] thermal: max77620: Add thermal driver for reporting junction temp
Date: Tue, 23 Aug 2016 16:29:16 +0800 [thread overview]
Message-ID: <201608231649.MFumkrxO%fengguang.wu@intel.com> (raw)
In-Reply-To: <1471935063-26611-2-git-send-email-ldewangan@nvidia.com>
[-- Attachment #1: Type: text/plain, Size: 2196 bytes --]
Hi Laxman,
[auto build test WARNING on thermal/next]
[also build test WARNING on next-20160823]
[cannot apply to v4.8-rc3]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Laxman-Dewangan/thermal-max77620-Add-DT-binding-doc-for-thermal-driver/20160823-151342
base: https://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/thermal/max77620_thermal.c: In function 'max77620_thermal_probe':
>> drivers/thermal/max77620_thermal.c:95:5: warning: 'mtherm' is used uninitialized in this function [-Wuninitialized]
if (!mtherm)
^
vim +/mtherm +95 drivers/thermal/max77620_thermal.c
79
80 if (irq == mtherm->irq_tjalarm1)
81 dev_warn(mtherm->dev, "Junction Temp Alarm1(120C) occurred\n");
82 else if (irq == mtherm->irq_tjalarm2)
83 dev_crit(mtherm->dev, "Junction Temp Alarm2(140C) occurred\n");
84
85 thermal_zone_device_update(mtherm->tz_device);
86
87 return IRQ_HANDLED;
88 }
89
90 static int max77620_thermal_probe(struct platform_device *pdev)
91 {
92 struct max77620_therm_info *mtherm;
93 int ret;
94
> 95 if (!mtherm)
96 return -ENOMEM;
97
98 mtherm->irq_tjalarm1 = platform_get_irq(pdev, 0);
99 mtherm->irq_tjalarm2 = platform_get_irq(pdev, 1);
100 if ((mtherm->irq_tjalarm1 < 0) || (mtherm->irq_tjalarm2 < 0)) {
101 dev_err(&pdev->dev, "Alarm irq number not available\n");
102 return -EINVAL;
103 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 55577 bytes --]
prev parent reply other threads:[~2016-08-23 8:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-23 6:51 [PATCH V5 1/2] thermal: max77620: Add DT binding doc for thermal driver Laxman Dewangan
2016-08-23 6:51 ` [PATCH V5 2/2] thermal: max77620: Add thermal driver for reporting junction temp Laxman Dewangan
2016-08-23 8:29 ` kbuild test robot [this message]
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=201608231649.MFumkrxO%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=edubezval@gmail.com \
--cc=kbuild-all@01.org \
--cc=ldewangan@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=rui.zhang@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®