[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d41d0c98-82ef-40f6-8c5c-68a94b5a4655@kadam.mountain>
Date:   Fri, 29 Sep 2023 09:49:24 +0300
From:   Dan Carpenter <dan.carpenter@...aro.org>
To:     Kalle Valo <kvalo@...nel.org>
Cc:     Christian Lamparter <chunkeey@...il.com>,
        Wu Yunchuan <yunchuan@...china.com>,
        linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
        kernel-janitors@...r.kernel.org
Subject: Re: [PATCH v2 wireless-next 2/9] carl9170: remove unnecessary
 (void*) conversions
On Fri, Sep 29, 2023 at 09:43:03AM +0300, Dan Carpenter wrote:
> I don't know anything which would warn about this.  Generally, in the
> kernel we try to avoid casts but perhaps there was a static checker
> which likes casts?
> 
> If removing these sorts of casts were an issue we would have known by
> now.
Thinking about it more, if this caused a static checker warning then
probably every kmalloc() would need a cast.
regards,
dan carpenter
Powered by blists - more mailing lists