From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Berg Subject: Re: [PATCH] wext: handle NULL exta data in iwe_stream_add_point better Date: Wed, 11 Jan 2017 16:06:17 +0100 Message-ID: <1484147177.29931.14.camel@sipsolutions.net> References: <20170111143532.485827-1-arnd@arndb.de> <1484145522.29931.13.camel@sipsolutions.net> (sfid-20170111_160001_614546_326AFA12) Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: linux-wireless@vger.kernel.org, "David S. Miller" , Networking , linux-kernel@vger.kernel.org To: Arnd Bergmann Return-path: In-Reply-To: (sfid-20170111_160001_614546_326AFA12) Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Wed, 2017-01-11 at 16:00 +0100, Arnd Bergmann wrote: > On Wed, Jan 11, 2017 at 3:38 PM, Johannes Berg > wrote: > > On Wed, 2017-01-11 at 15:35 +0100, Arnd Bergmann wrote: > > > This works fine here because iwe->u.data.length is guaranteed to > > > be > > > NULL, and the memcpy doesn't actually have an effect. > > > > I think you mean 0, not NULL, but I can fix that when I apply it. > > Right, thanks! Applied. Also fixed the typo in the subject :) johannes