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
| ||
|
Date: Tue, 20 Dec 2022 22:57:33 +0000 From: Chaitanya Kulkarni <chaitanyak@...dia.com> To: "Michael S. Tsirkin" <mst@...hat.com>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org> CC: Jens Axboe <axboe@...nel.dk>, Anders Roxell <anders.roxell@...aro.org>, "virtualization@...ts.linux-foundation.org" <virtualization@...ts.linux-foundation.org>, "linux-block@...r.kernel.org" <linux-block@...r.kernel.org>, Stefan Hajnoczi <stefanha@...hat.com>, Paolo Bonzini <pbonzini@...hat.com> Subject: Re: [PATCH] virtio-blk: fix probe without CONFIG_BLK_DEV_ZONED On 12/20/22 03:23, Michael S. Tsirkin wrote: > When building without CONFIG_BLK_DEV_ZONED, VIRTIO_BLK_F_ZONED > is excluded from array of driver features. > As a result virtio_has_feature panics in virtio_check_driver_offered_feature > since that by design verifies that a feature we are checking for > is listed in the feature array. > > To fix, replace the call to virtio_has_feature with a stub. > > Tested-by: Anders Roxell <anders.roxell@...aro.org> > Signed-off-by: Michael S. Tsirkin <mst@...hat.com> > --- Reviewed-by: Chaitanya Kulkarni <kch@...dia.com> -ck
Powered by blists - more mailing lists