From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Date: Tue, 04 Sep 2012 17:33:15 +0000 Subject: Re: [staging-next] ozwpan: fix memcmp() test in oz_set_active_pd() Message-Id: <20120904173315.GD19410@mwanda> List-Id: References: <1345393254-6060-1-git-send-email-tomas.winkler@intel.com> In-Reply-To: <1345393254-6060-1-git-send-email-tomas.winkler@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org On Tue, Sep 04, 2012 at 10:31:05AM -0700, Dan Carpenter wrote: > On Sun, Aug 19, 2012 at 07:20:54PM +0300, Tomas Winkler wrote: > > "addr" is a pointer so it's either 4 or 8 bytes, but actually we want > > to compare 6 bytes (ETH_ALEN). > > > > As network stack already provides helper function > > is_zero_ether_addr() we use that instead of memcmp > > > > Signed-off-by: Tomas Winkler > > Cc: Dan Carpenter > > Cc: Rupesh Gujare > > --- > > Generally I would frown on patch thievery but since the maintainer > asked you to then it's fine. > > Reported-by: Dan Carpenter > Acked-by: Dan Carpenter Oops. Doesn't compile. I see you sent a v3 already. regards, dan carpenter > > regards, > dan carpenter