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>] [day] [month] [year] [list]
Message-ID: <202110072145.rvT7kngO-lkp@intel.com>
Date:   Thu, 7 Oct 2021 21:01:47 +0800
From:   kernel test robot <lkp@...el.com>
To:     Sven Schnelle <svens@...ckframe.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Helge Deller <deller@....de>
Subject: [deller-parisc:HPMC_and_TOC_on_c8000 1/3]
 drivers/tty/sysrq.c:1189:29: warning: conversion from 'long long unsigned
 int' to 'phys_addr_t' {aka 'unsigned int'} changes value from
 '18446744008748171264' to '3758096384'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git HPMC_and_TOC_on_c8000
head:   96e1b009bc4030ae126df7e90ff9d434c5766d99
commit: c743202c8e5cfe0ee49a274751bf02bb893faa19 [1/3] hpmc trigger
config: powerpc-ppc6xx_defconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/commit/?id=c743202c8e5cfe0ee49a274751bf02bb893faa19
        git remote add deller-parisc https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git
        git fetch --no-tags deller-parisc HPMC_and_TOC_on_c8000
        git checkout c743202c8e5cfe0ee49a274751bf02bb893faa19
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   drivers/tty/sysrq.c: In function 'sysrq_init':
>> drivers/tty/sysrq.c:1189:29: warning: conversion from 'long long unsigned int' to 'phys_addr_t' {aka 'unsigned int'} changes value from '18446744008748171264' to '3758096384' [-Woverflow]
    1189 |         hpmc_addr = ioremap(0xfffffff0e0000000UL, 4096);
         |                             ^~~~~~~~~~~~~~~~~~~~


vim +1189 drivers/tty/sysrq.c

  1184	
  1185	static int __init sysrq_init(void)
  1186	{
  1187		sysrq_init_procfs();
  1188	
> 1189		hpmc_addr = ioremap(0xfffffff0e0000000UL, 4096);

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (32644 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ