Re: [PATCH] lib80211: Use ERR_CAST() to return

From: Johannes Berg
Date: Fri Sep 06 2024 - 07:55:50 EST


On Fri, 2024-09-06 at 17:14 +0530, Rohit Chavan wrote:
> Using ERR_CAST() is more reasonable and safer, When it is necessary
> to convert the type of an error pointer and return it.
>

What? Why? What's the point?

johannes