diff options
author | Jack Wang <jinpu.wang@cloud.ionos.com> | 2021-01-08 15:36:30 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-08 08:19:18 -0700 |
commit | 74acfa996b2aec2a4ea8587104c7e2f8d4c6aec2 (patch) | |
tree | 4209e144f27078c2b29acf1813e7413eff5c7893 /drivers/block/paride | |
parent | 2d2f6f1b4799428d160c021dd652bc3e3593945e (diff) | |
download | linux-stable-74acfa996b2aec2a4ea8587104c7e2f8d4c6aec2.tar.gz linux-stable-74acfa996b2aec2a4ea8587104c7e2f8d4c6aec2.tar.bz2 linux-stable-74acfa996b2aec2a4ea8587104c7e2f8d4c6aec2.zip |
block/rnbd: Select SG_POOL for RNBD_CLIENT
lkp reboot following build error:
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);
| ^~~~~~~~~~~~~~~~~~~~~
The reason is CONFIG_SG_POOL is not enabled in the config, to
avoid such failure, select SG_POOL in Kconfig for RNBD_CLIENT.
Fixes: 5a1328d0c3a7 ("block/rnbd-clt: Dynamically allocate sglist for rnbd_iu")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/paride')
0 files changed, 0 insertions, 0 deletions