Re: [PATCH net-next] net: bna: bnad: Remove unnecessary (void*) conversions

From: yunchuan
Date: Thu May 18 2023 - 21:39:03 EST



在 2023/5/17 23:18, Jakub Kicinski 写道:
On Wed, 17 May 2023 13:14:11 +0800 yunchuan wrote:
在 2023/5/17 11:17, Jakub Kicinski 写道:
On Wed, 17 May 2023 10:27:05 +0800 wuych wrote:
Pointer variables of void * type do not require type cast.
What tool are you using to find these.
How many of such patches will it take to clean up the entire tree?
I use the scripts I found on the  kernel Newbies to find these.

website: https://kernelnewbies.org/KernelJanitors/Todo/VoidPointerConvs
How many of such patches will it take to clean up all of net/ and drivers/net ?



I have identified 48 areas that need to be modified using the script, and have not yet confirmed whether all of them need to be modified.