[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <wrfjzj9gt8lv.fsf@redhat.com>
Date: Sun, 18 Jan 2015 10:24:28 -0500
From: Jes Sorensen <Jes.Sorensen@...hat.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Emil Renner Berthing <kernel@...il.dk>,
Larry Finger <Larry.Finger@...inger.net>,
devel@...verdev.osuosl.org, linux-wireless@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers: staging: rtl8723au: get rid of unneeded memset/memcpy
Greg Kroah-Hartman <gregkh@...uxfoundation.org> writes:
> On Sun, Dec 07, 2014 at 03:37:20PM +0100, Emil Renner Berthing wrote:
>> This also fixes a sparse warning.
>
> What sparse warning? What's wrong with the original code? Unless Jes
> resends this to me, I don't see the need to apply it, sorry.
I agree, I cannot see what this is fixing, it does however add an ugly
cast.
If you want to change the paramters passed to FillH2CCmd() then change
the prototype and create something like struct h2c_cmd_arg{} and apply
that across the board.
NACK
Jes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists