lkml.org 
[lkml]   [2022]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/6][next] zd1201: Avoid clashing function prototypes
On Mon, Oct 17, 2022 at 03:35:57PM -0500, Gustavo A. R. Silva wrote:
> [...]
> @@ -1678,12 +1682,11 @@ static int zd1201_get_maxassoc(struct net_device *dev,
> }
>
> static const iw_handler zd1201_private_handler[] = {
> - (iw_handler) zd1201_set_hostauth, /* ZD1201SIWHOSTAUTH */
> - (iw_handler) zd1201_get_hostauth, /* ZD1201GIWHOSTAUTH */
> - (iw_handler) zd1201_auth_sta, /* ZD1201SIWAUTHSTA */
> - (iw_handler) NULL, /* nothing to get */
> - (iw_handler) zd1201_set_maxassoc, /* ZD1201SIMAXASSOC */
> - (iw_handler) zd1201_get_maxassoc, /* ZD1201GIMAXASSOC */
> + IW_HANDLER(ZD1201SIWHOSTAUTH, zd1201_set_hostauth),
> + IW_HANDLER(ZD1201GIWHOSTAUTH, zd1201_get_hostauth),
> + IW_HANDLER(ZD1201SIWAUTHSTA, zd1201_auth_sta),
> + IW_HANDLER(ZD1201SIWMAXASSOC, zd1201_set_maxassoc),
> + IW_HANDLER(ZD1201GIWMAXASSOC, zd1201_get_maxassoc),
> };

Like with the others, leave these as-is...

--
Kees Cook

\
 
 \ /
  Last update: 2022-10-18 04:50    [W:0.098 / U:1.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site