From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com ([192.55.52.88]:47495 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754632AbbHQIre (ORCPT ); Mon, 17 Aug 2015 04:47:34 -0400 Date: Mon, 17 Aug 2015 10:47:29 +0200 From: Samuel Ortiz To: Christophe Ricard Cc: linux-nfc@lists.01.org, christophe-h.ricard@st.com, stable@vger.kernel.org Subject: Re: [PATCH] nfc: netlink: Fix "warning: 'data' may be used uninitialized in this function" Message-ID: <20150817084729.GD3114@zurbaran.home> References: <1439793223-2623-1-git-send-email-christophe-h.ricard@st.com> <1439793223-2623-2-git-send-email-christophe-h.ricard@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1439793223-2623-2-git-send-email-christophe-h.ricard@st.com> Sender: stable-owner@vger.kernel.org List-ID: Hi Christophe, On Mon, Aug 17, 2015 at 08:33:43AM +0200, Christophe Ricard wrote: > When NFC_ATTR_VENDOR_DATA is not set, data_len is 0 and data is NULL. > > Cc: stable@vger.kernel.org > Signed-off-by: Christophe Ricard > --- > net/nfc/netlink.c | 1 + > 1 file changed, 1 insertion(+) Applied, thanks. Cheers, Samuel.