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]
Message-Id: <c56bcb20-9ea9-43ac-9528-db62d01ad072@app.fastmail.com>
Date:   Fri, 04 Nov 2022 13:14:13 +0100
From:   "Sven Peter" <sven@...npeter.dev>
To:     "kernel test robot" <lkp@...el.com>,
        "Arnd Bergmann" <arnd@...db.de>
Cc:     clang-built-linux <llvm@...ts.linux.dev>,
        oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: drivers/soc/apple/rtkit.c:947:38: warning: cast from 'void (*)(struct
 apple_rtkit *)' to 'void (*)(void *)' converts to incompatible function type

Hi,

On Fri, Nov 4, 2022, at 13:04, kernel test robot wrote:
> tree:   
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> master
> head:   ee6050c8af96bba2f81e8b0793a1fc2f998fcd20
> commit: 9bd1d9a0d8bb1a549831fd98fcc3105960f7068b soc: apple: Add RTKit 
> IPC library
> date:   6 months ago
> config: s390-randconfig-r002-20221104
> compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 
> 2bbafe04fe785a9469bea5a3737f8d7d3ce4aca2)
> 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
>         # install s390 cross compiling tool for clang build
>         # apt-get install binutils-s390x-linux-gnu
>         # 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9bd1d9a0d8bb1a549831fd98fcc3105960f7068b
>         git remote add linus 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout 9bd1d9a0d8bb1a549831fd98fcc3105960f7068b
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 
> O=build_dir ARCH=s390 SHELL=/bin/bash drivers/soc/apple/
>
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@...el.com>

Thanks for the report, this instance is especially brain-dead since
apple_rtkit_free isn't even used outside of rtkit.c.
I'll send a fix later as well.


Sven

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ