From: kbuild test robot <lkp@intel.com>
To: Bhumika Goyal <bhumirks@gmail.com>
Cc: kbuild-all@01.org, julia.lawall@lip6.fr, lgirdwood@gmail.com,
broonie@kernel.org, michael.hennerich@analog.com, wens@csie.org,
cw00.choi@samsung.com, krzk@kernel.org, b.zolnierkie@samsung.com,
javier@osg.samsung.com, tony@atomide.com, sbkim73@samsung.com,
liviu.dudau@arm.com, sudeep.holla@arm.com,
lorenzo.pieralisi@arm.com, linux-kernel@vger.kernel.org,
linux-omap@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Bhumika Goyal <bhumirks@gmail.com>
Subject: Re: [PATCH] regulator: constify regulator_ops structures
Date: Thu, 26 Jan 2017 20:30:49 +0800 [thread overview]
Message-ID: <201701262050.ENVMjmGT%fengguang.wu@intel.com> (raw)
In-Reply-To: <1485427668-2816-1-git-send-email-bhumirks@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2198 bytes --]
Hi Bhumika,
[auto build test ERROR on regulator/for-next]
[cannot apply to v4.10-rc5 next-20170125]
[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/Bhumika-Goyal/regulator-constify-regulator_ops-structures/20170126-185451
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
config: x86_64-randconfig-s2-01261858 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/regulator/anatop-regulator.c: In function 'anatop_regulator_probe':
>> drivers/regulator/anatop-regulator.c:310: error: assignment of read-only variable 'anatop_rops'
drivers/regulator/anatop-regulator.c:311: error: assignment of read-only variable 'anatop_rops'
drivers/regulator/anatop-regulator.c:312: error: assignment of read-only variable 'anatop_rops'
vim +/anatop_rops +310 drivers/regulator/anatop-regulator.c
ca7734ad Andrey Smirnov 2017-01-10 304 u32 enable_bit;
ca7734ad Andrey Smirnov 2017-01-10 305
605ebd35 Philipp Zabel 2014-02-11 306 rdesc->ops = &anatop_rops;
ca7734ad Andrey Smirnov 2017-01-10 307
ca7734ad Andrey Smirnov 2017-01-10 308 if (!of_property_read_u32(np, "anatop-enable-bit",
ca7734ad Andrey Smirnov 2017-01-10 309 &enable_bit)) {
ca7734ad Andrey Smirnov 2017-01-10 @310 anatop_rops.enable = regulator_enable_regmap;
ca7734ad Andrey Smirnov 2017-01-10 311 anatop_rops.disable = regulator_disable_regmap;
ca7734ad Andrey Smirnov 2017-01-10 312 anatop_rops.is_enabled = regulator_is_enabled_regmap;
ca7734ad Andrey Smirnov 2017-01-10 313
:::::: The code at line 310 was first introduced by commit
:::::: ca7734ad77b4ffb83a03c80b8d64d40c7ef49263 regulator: anatop: Add support for "anatop-enable-bit"
:::::: TO: Andrey Smirnov <andrew.smirnov@gmail.com>
:::::: CC: Mark Brown <broonie@kernel.org>
---
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: 20822 bytes --]
next prev parent reply other threads:[~2017-01-26 12:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-26 10:47 [PATCH] regulator: constify regulator_ops structures Bhumika Goyal
2017-01-26 11:57 ` kbuild test robot
2017-01-26 12:30 ` kbuild test robot [this message]
2017-01-26 12:37 ` Mark Brown
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=201701262050.ENVMjmGT%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=b.zolnierkie@samsung.com \
--cc=bhumirks@gmail.com \
--cc=broonie@kernel.org \
--cc=cw00.choi@samsung.com \
--cc=javier@osg.samsung.com \
--cc=julia.lawall@lip6.fr \
--cc=kbuild-all@01.org \
--cc=krzk@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=liviu.dudau@arm.com \
--cc=lorenzo.pieralisi@arm.com \
--cc=michael.hennerich@analog.com \
--cc=sbkim73@samsung.com \
--cc=sudeep.holla@arm.com \
--cc=tony@atomide.com \
--cc=wens@csie.org \
/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;
as well as URLs for NNTP newsgroup(s).