From patchwork Tue Jan 29 03:21:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 10785351 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 85259139A for ; Tue, 29 Jan 2019 03:22:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6BF0528AD0 for ; Tue, 29 Jan 2019 03:22:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5ED4B2ABB4; Tue, 29 Jan 2019 03:22:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18E4C28AD0 for ; Tue, 29 Jan 2019 03:22:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727371AbfA2DWI (ORCPT ); Mon, 28 Jan 2019 22:22:08 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:3227 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727142AbfA2DWI (ORCPT ); Mon, 28 Jan 2019 22:22:08 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 5D4DC4F2F1F9E46D153A; Tue, 29 Jan 2019 11:22:06 +0800 (CST) Received: from localhost (10.177.31.96) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.408.0; Tue, 29 Jan 2019 11:21:59 +0800 From: YueHaibing To: , , , , CC: , , , YueHaibing Subject: [PATCH v2 0/2] cleanup for iwlwifi Date: Tue, 29 Jan 2019 11:21:42 +0800 Message-ID: <20190129032144.18120-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.177.31.96] X-CFilter-Loop: Reflected Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP v2: Use struct_size in regd allocation YueHaibing (2): iwlwifi: Use kmemdup instead of duplicating its function iwlwifi: Use struct_size() in kzalloc drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-)