Re: [PATCH] bcache: avoid a dangerous addressing in closure_queue

From: Christoph Hellwig
Date: Wed Jul 05 2017 - 23:36:47 EST


On Thu, Jul 06, 2017 at 08:18:02AM +0800, Liang Chen wrote:
> But as you pointed out, explicit casting is still bad too (was hoping it can be
> considered less bad at this situation). I will think of a better idea
> to handle this
> issue unless people agree that the current behaviour is safe.

Yes, let's find a way to avoids both the implicit and the explicit cast.