All of lore.kernel.org
 help / color / mirror / Atom feed
* [driver-core:driver-core-testing 10/17] drivers//of/platform.c:629:32: warning: initialization discards 'const' qualifier from pointer target type
@ 2019-08-06  7:23 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-08-06  7:23 UTC (permalink / raw)


tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing
head:   90eb808c54acbacfb76b408036dc0fc287b46901
commit: 05f812549f534daa584fa6964aff6b3de23971a7 [10/17] of/platform: Add functional dependency link from DT bindings
config: mips-allmodconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 05f812549f534daa584fa6964aff6b3de23971a7
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=mips 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>

All warnings (new ones prefixed by >>):

   drivers//of/platform.c: In function 'of_link_property':
>> drivers//of/platform.c:629:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     struct supplier_bindings *s = bindings;
                                   ^~~~~~~~
>> drivers//of/platform.c:647:18: warning: ?: using integer constants in boolean context [-Wint-in-bool-context]
     return done ? 0 : -ENODEV;

vim +/const +629 drivers//of/platform.c

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 61452 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20190806/ef604104/attachment-0001.bin>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-06  7:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-06  7:23 [driver-core:driver-core-testing 10/17] drivers//of/platform.c:629:32: warning: initialization discards 'const' qualifier from pointer target type kbuild test robot

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.