Search Linux Wireless

Re: [PATCH 01/13] staging: vt6656: cleanup MACvWriteMultiAddr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 05, 2013 at 09:13:22PM +0100, Malcolm Priestley wrote:
> Remove internal white space and camel case.
> 
> Camel case changes;
> pDevice -> priv
> uByteidx -> byte_idx
> byData -> data
> 
> Functional change secondary buffer byData1 removed.
> 
> Signed-off-by: Malcolm Priestley <tvboxspy@xxxxxxxxx>
> ---
>  drivers/staging/vt6656/mac.c | 24 +++++++++---------------
>  drivers/staging/vt6656/mac.h |  2 +-
>  2 files changed, 10 insertions(+), 16 deletions(-)
> 
> diff --git a/drivers/staging/vt6656/mac.c b/drivers/staging/vt6656/mac.c
> index 343db19..89d700f 100644
> --- a/drivers/staging/vt6656/mac.c
> +++ b/drivers/staging/vt6656/mac.c
> @@ -46,26 +46,20 @@ static int          msglevel                =MSG_LEVEL_INFO;
>   *      Write MAC Multicast Address Mask
>   *
>   * Parameters:
> - *  In:
> - *      uByteidx    - Index of Mask
> - *      byData      - Mask Value to write
> - *  Out:
> - *      none
> + * In:
> + *	byte_idx - Index of Mask
> + *	data- Mask Value to write
> + * Out:
> + *	none
>   *
>   * Return Value: none
>   *
>   */
> -void MACvWriteMultiAddr(struct vnt_private *pDevice, u32 uByteIdx, u8 byData)
> +void MACvWriteMultiAddr(struct vnt_private *priv, u16 byte_idx, u8 data)

Why did you change the variable type of byte_idx?  You don't document
that in your changelog above.

Yes, it's being cast, but don't mix formatting / variable name changes
with logical changes please.  Remember, one patch per "thing" you
change.

please redo this.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux