Re: [PATCH 1/2] crypto: virtio-crypto: Wait for tasklet to complete on device remove

2023-12-21 Thread Herbert Xu
On Mon, Dec 11, 2023 at 07:42:15PM +0800, Gonglei wrote: > From: wangyangxin > > The scheduled tasklet needs to be executed on device remove. > > Fixes: fed93fb62e05 ("crypto: virtio - Handle dataq logic with tasklet") > Signed-off-by: wangyangxin > Signed-off-by: Gonglei > --- > drivers/cryp

Re: [PATCH 2/2] crypto: virtio-crypto: Fix gcc check warnings

2023-12-21 Thread Herbert Xu
On Mon, Dec 11, 2023 at 07:42:16PM +0800, Gonglei wrote: > > static inline int virtio_crypto_get_current_node(void) > { > - int cpu, node; > + int node; > > - cpu = get_cpu(); > - node = topology_physical_package_id(cpu); > + node = topology_physical_package_id(get_cpu());