lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 7 Sep 2016 12:25:25 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc:     kbuild-all@...org, Ingo Molnar <mingo@...hat.com>,
        linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
        "H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
        Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: Re: [PATCH v1 1/1] x86/platform/intel-mid: Implement power off
 sequence

Hi Andy,

[auto build test WARNING on tip/auto-latest]
[also build test WARNING on next-20160906]
[cannot apply to tip/x86/core v4.8-rc5]
[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/Andy-Shevchenko/x86-platform-intel-mid-Implement-power-off-sequence/20160907-114644
config: x86_64-randconfig-x006-201636 (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 >>):

   arch/x86/platform/intel-mid/pwr.c: In function 'intel_mid_pwr_power_off':
>> arch/x86/platform/intel-mid/pwr.c:53:29: warning: large integer implicitly truncated to unsigned type [-Woverflow]
    #define PM_CMD_SYS_STATE_S5 (5 << 16)
                                ^
>> arch/x86/platform/intel-mid/pwr.c:278:11: note: in expansion of macro 'PM_CMD_SYS_STATE_S5'
     u8 cmd = PM_CMD_SYS_STATE_S5 |
              ^~~~~~~~~~~~~~~~~~~

vim +53 arch/x86/platform/intel-mid/pwr.c

    37	#define PM_WKS(x)		(0x18 + (x) * 4)
    38	#define PM_SSC(x)		(0x20 + (x) * 4)
    39	#define PM_SSS(x)		(0x30 + (x) * 4)
    40	
    41	/* Bits in PM_STS */
    42	#define PM_STS_BUSY		(1 << 8)
    43	
    44	/* Bits in PM_CMD */
    45	#define PM_CMD_CMD(x)		((x) << 0)
    46	#define PM_CMD_IOC		(1 << 8)
    47	#define PM_CMD_CM_NOP		(0 << 9)
    48	#define PM_CMD_CM_IMMEDIATE	(1 << 9)
    49	#define PM_CMD_CM_DELAY		(2 << 9)
    50	#define PM_CMD_CM_TRIGGER	(3 << 9)
    51	
    52	/* System states */
  > 53	#define PM_CMD_SYS_STATE_S5	(5 << 16)
    54	
    55	/* Trigger variants */
    56	#define PM_CMD_CFG_TRIGGER_NC	(3 << 19)
    57	
    58	/* Message to wait for TRIGGER_NC case */
    59	#define TRIGGER_NC_MSG_2	(2 << 22)
    60	
    61	/* List of commands */

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (27699 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ