Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752834AbbGULyn (ORCPT ); Tue, 21 Jul 2015 07:54:43 -0400 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 X-IronPort-AV: E=McAfee;i="5700,7163,7868"; a="94279969" X-IronPort-AV: E=Sophos;i="5.15,515,1432623600"; d="scan'208";a="27318308" 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01B.na.qualcomm.com (10.85.0.82) To NALASEXR01G.na.qualcomm.com (10.49.56.53) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 576 Lines: 18 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/