Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756925AbcDGQk5 (ORCPT ); Thu, 7 Apr 2016 12:40:57 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:52131 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752235AbcDGQk4 (ORCPT ); Thu, 7 Apr 2016 12:40:56 -0400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [RESEND] mwifiex: fix NULL pointer dereference error From: Kalle Valo In-Reply-To: <1459332895-4563-1-git-send-email-wnhuang@chromium.org> To: Wei-Ning Huang Cc: Linux Wireless , LKML , djkurtz@chromium.org, snanda@chromium.org, akarwar@marvell.com, Wei-Ning Huang Message-Id: <20160407164055.0296A615D4@smtp.codeaurora.org> Date: Thu, 7 Apr 2016 16:40:55 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 290 Lines: 10 > In mwifiex_enable_hs, we need to check if > priv->wdev.wiphy->wowlan_config is NULL before accessing its member. > This sometimes cause kernel panic when suspend/resume. > > Signed-off-by: Wei-Ning Huang Thanks, applied to wireless-drivers-next.git. Kalle Valo