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  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:   Fri, 8 Jan 2021 07:58:43 +0100
From:   Jinpu Wang <jinpu.wang@...ud.ionos.com>
To:     kernel test robot <lkp@...el.com>
Cc:     Gioh Kim <gi-oh.kim@...ud.ionos.com>, kbuild-all@...ts.01.org,
        open list <linux-kernel@...r.kernel.org>,
        Jens Axboe <axboe@...nel.dk>
Subject: Re: drivers/block/rnbd/rnbd-clt.c:387:2: error: implicit declaration
 of function 'sg_free_table_chained'

On Fri, Jan 8, 2021 at 7:46 AM kernel test robot <lkp@...el.com> wrote:
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   f5e6c330254ae691f6d7befe61c786eb5056007e
> commit: 5a1328d0c3a757cdd8c65f4dfe0a02502a5810bc block/rnbd-clt: Dynamically allocate sglist for rnbd_iu
> date:   3 weeks ago
> config: parisc-randconfig-r011-20210108 (attached as .config)
> compiler: hppa-linux-gcc (GCC) 9.3.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/torvalds/linux.git/commit/?id=5a1328d0c3a757cdd8c65f4dfe0a02502a5810bc
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout 5a1328d0c3a757cdd8c65f4dfe0a02502a5810bc
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
>    drivers/block/rnbd/rnbd-clt.c: In function 'rnbd_softirq_done_fn':
> >> drivers/block/rnbd/rnbd-clt.c:387:2: error: implicit declaration of function 'sg_free_table_chained' [-Werror=implicit-function-declaration]
>      387 |  sg_free_table_chained(&iu->sgt, RNBD_INLINE_SG_CNT);
>          |  ^~~~~~~~~~~~~~~~~~~~~
>    drivers/block/rnbd/rnbd-clt.c: In function 'rnbd_queue_rq':
> >> drivers/block/rnbd/rnbd-clt.c:1142:8: error: implicit declaration of function 'sg_alloc_table_chained'; did you mean 'sg_alloc_table'? [-Werror=implicit-function-declaration]
>     1142 |  err = sg_alloc_table_chained(&iu->sgt,
>          |        ^~~~~~~~~~~~~~~~~~~~~~
>          |        sg_alloc_table
>    cc1: some warnings being treated as errors
>
>
> vim +/sg_free_table_chained +387 drivers/block/rnbd/rnbd-clt.c
Thanks for reporting, I've found the problem, we need to
select SG_POOL in Kconfig for RNBD client, will send out a fix soon today.

Regards!
Jack

Powered by blists - more mailing lists