Return-path: Received: from sabertooth02.qualcomm.com ([65.197.215.38]:19906 "EHLO sabertooth02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751807AbbGULyl (ORCPT ); Tue, 21 Jul 2015 07:54:41 -0400 From: Kalle Valo To: Maninder Singh CC: , , , , Subject: Re: [PATCH 1/1] ath10k: fixing wrong initialization of struct channel References: <1437018933-25832-1-git-send-email-maninder1.s@samsung.com> Date: Tue, 21 Jul 2015 14:54:33 +0300 In-Reply-To: <1437018933-25832-1-git-send-email-maninder1.s@samsung.com> (Maninder Singh's message of "Thu, 16 Jul 2015 09:25:33 +0530") Message-ID: <87fv4hohdy.fsf@kamboji.qca.qualcomm.com> (sfid-20150721_135500_056820_95BD3FA6) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: linux-wireless-owner@vger.kernel.org List-ID: Maninder Singh writes: > chandef is initialized with NULL and on the very next line, > we are using it to get channel, which is not correct. > > channel should be initialized after obtaining chandef. > > Signed-off-by: Maninder Singh How did you find this bug? -- Kalle Valo