[PATCH 1/4] powerpc/powernv: panic() on OPAL < V3

kbuild test robot lkp at intel.com
Fri Nov 27 18:13:28 AEDT 2015


Hi Stewart,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.4-rc2 next-20151127]

url:    https://github.com/0day-ci/linux/commits/Stewart-Smith/powerpc-powernv-panic-on-OPAL-V3/20151127-125146
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

Note: the linux-review/Stewart-Smith/powerpc-powernv-panic-on-OPAL-V3/20151127-125146 HEAD 152f1c52f2204a99806617c1fcfdff7505ee8506 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   arch/powerpc/platforms/powernv/opal.c: In function 'early_init_dt_scan_opal':
>> arch/powerpc/platforms/powernv/opal.c:108:2: error: expected ';' before '}' token
     }
     ^

vim +108 arch/powerpc/platforms/powernv/opal.c

75b93da4 Benjamin Herrenschmidt 2013-05-14  102  	if (of_flat_dt_is_compatible(node, "ibm,opal-v3")) {
75b93da4 Benjamin Herrenschmidt 2013-05-14  103  		powerpc_firmware_features |= FW_FEATURE_OPALv2;
75b93da4 Benjamin Herrenschmidt 2013-05-14  104  		powerpc_firmware_features |= FW_FEATURE_OPALv3;
9a4f5cd0 Anton Blanchard        2014-09-17  105  		pr_info("OPAL V3 detected !\n");
14a43e69 Benjamin Herrenschmidt 2011-09-19  106  	} else {
37adb774 Stewart Smith          2015-11-27  107  		panic("OPAL != V3 detected, no longer supported.\n")
14a43e69 Benjamin Herrenschmidt 2011-09-19 @108  	}
14a43e69 Benjamin Herrenschmidt 2011-09-19  109  
4926616c Benjamin Herrenschmidt 2014-05-20  110  	/* Reinit all cores with the right endian */
4926616c Benjamin Herrenschmidt 2014-05-20  111  	opal_reinit_cores();

:::::: The code at line 108 was first introduced by commit
:::::: 14a43e69ed257a1fadadf9fea2c05adb1686419f powerpc/powernv: Basic support for OPAL

:::::: TO: Benjamin Herrenschmidt <benh at kernel.crashing.org>
:::::: CC: Benjamin Herrenschmidt <benh at kernel.crashing.org>

---
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/octet-stream
Size: 21688 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20151127/f5c75ade/attachment-0001.obj>


More information about the Linuxppc-dev mailing list