Return-path: Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:45251 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750861AbbLOFrs convert rfc822-to-8bit (ORCPT ); Tue, 15 Dec 2015 00:47:48 -0500 From: David Lin To: Kan Yan , "linux-wireless@vger.kernel.org" Subject: RE: [PATCH v7] Add new mac80211 driver mwlwifi. Date: Tue, 15 Dec 2015 05:47:44 +0000 Message-ID: (sfid-20151215_064752_000865_AAB43AB5) References: In-Reply-To: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: > Kan Yan writes: > > David Lin writes: > > > +static inline struct sk_buff *mwl_tx_do_amsdu(struct mwl_priv *priv, > > + int desc_num, > > ... > > + amsdu_pkts = (struct sk_buff_head *) > > + kmalloc(sizeof(*amsdu_pkts), GFP_KERNEL); > > + if (!amsdu_pkts) { > > Should GFP_ATOMIC be used here instead of GFP_KERNEL? This function could > be called in interrupt context. > Thanks. I will fix it. > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the > body of a message to majordomo@vger.kernel.org More majordomo info at > http://vger.kernel.org/majordomo-info.html