Re: [PATCH] ps3disk: Do not use dev->bounce_size before it is set

2025-01-03 Thread Jens Axboe
On Fri, 03 Jan 2025 09:51:25 +0100, Geert Uytterhoeven wrote: > dev->bounce_size is only initialized after it is used to set the queue > limits. Fix this by using BOUNCE_SIZE instead. > > Applied, thanks! [1/1] ps3disk: Do not use dev->bounce_size before it is set commit: c2398e6d5f16e

Re: [PATCH] ps3disk: Do not use dev->bounce_size before it is set

2025-01-03 Thread Geert Uytterhoeven
Hi Christoph, On Fri, Jan 3, 2025 at 9:56 AM Christoph Hellwig wrote: > On Fri, Jan 03, 2025 at 09:51:25AM +0100, Geert Uytterhoeven wrote: > > dev->bounce_size is only initialized after it is used to set the queue > > limits. Fix this by using BOUNCE_SIZE instead. > > > > Fixes: a7f18b74dbe1716

[PATCH] ps3disk: Do not use dev->bounce_size before it is set

2025-01-03 Thread Geert Uytterhoeven
dev->bounce_size is only initialized after it is used to set the queue limits. Fix this by using BOUNCE_SIZE instead. Fixes: a7f18b74dbe17162 ("ps3disk: pass queue_limits to blk_mq_alloc_disk") Reported-by: Philipp Hortmann Closes: https://lore.kernel.org/39256db9-3d73-4e86-a49b-300dfd670...@gma

Re: [PATCH] ps3disk: Do not use dev->bounce_size before it is set

2025-01-03 Thread Christoph Hellwig
On Fri, Jan 03, 2025 at 09:51:25AM +0100, Geert Uytterhoeven wrote: > dev->bounce_size is only initialized after it is used to set the queue > limits. Fix this by using BOUNCE_SIZE instead. > > Fixes: a7f18b74dbe17162 ("ps3disk: pass queue_limits to blk_mq_alloc_disk") > Reported-by: Philipp Hort