Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5340691ybe; Tue, 17 Sep 2019 06:38:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOdpACUG8WX3X1yj0KEBdGZLCXY28F/JlDU+xRhM+F2nCr0x+mVhub52rjWM9GdQ/sP33S X-Received: by 2002:aa7:c559:: with SMTP id s25mr4770011edr.198.1568727525991; Tue, 17 Sep 2019 06:38:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568727525; cv=none; d=google.com; s=arc-20160816; b=bOPoW/SDiu459cwrDL1YqVWIljiFAxDsS/mP0VcxhCj50OOHNepneXLM7Y7PeyYsgs MbaW/gSjFKB+ugN8hYExEyCBE64m8XPplV6VDhMpZbXQOngy8Jb21na4q0/+XHegLtPG B/cxElchdLR5lAXFTy442zTlGIYKM3U4CVsS0gm8HnYeoqHPylDvt0srbPVmnbrIkYee rHxfuTnvekTKCJgfErxGDJHSwm0TCT+FxG4RcPdzC6/HC8b9nnnQNxzGXoqP+70YNdxz w8iVa7I8TszlsFziIgGlCX2QpQDO/BDv+EX1isUkiQsK0h10R+RL9jOVUL+bP+Uylcfr cn2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :references:subject:cc:to:mime-version:user-agent:from:date :message-id; bh=Woo5s/qUgJDyEYzMI4rBZg2OupaUyrNGWHYJrzNQqLs=; b=QQaP6OiFe1ML5X8CPzsZerKXcd4Tx0juv5cvWC5azjMpCDDHNCkInZYni1tKwJOpxo qFc/OGyrvw9YADjtjIglwUTXD9Jn3agpwl9xJ9MdtybRalS+mQuxpz1jmch2olQzo5Sw 1vQ4qTfXtrBVV6550zXblP203i6+2eIjOcDrAi3skqdiFMXVk72ge8LEZYXBUkH832jv V8LX0c50HrwmZTfli7QswxyNY3r4mO5tyb23IwLIKhyAvscCFxpJtwKG8ANjQEYEPfzO U/gjYozC+3FN+cVW8r4g6LP8fyc/sGwbP3SdmyjvzDQPaE+Xhj0WzVdkiSHeeRYUCvSS 2+nQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f31si1501303ede.253.2019.09.17.06.38.10; Tue, 17 Sep 2019 06:38:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728373AbfIQNhJ (ORCPT + 99 others); Tue, 17 Sep 2019 09:37:09 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:53122 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727930AbfIQNhJ (ORCPT ); Tue, 17 Sep 2019 09:37:09 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 18446C2E2417DE0954E7; Tue, 17 Sep 2019 21:37:07 +0800 (CST) Received: from [127.0.0.1] (10.177.29.68) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Tue, 17 Sep 2019 21:37:02 +0800 Message-ID: <5D80E17D.2000800@huawei.com> Date: Tue, 17 Sep 2019 21:37:01 +0800 From: zhong jiang User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Kalle Valo CC: , , , , Subject: Re: [PATCH] ath10k: Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element References: <1567582878-18739-1-git-send-email-zhongjiang@huawei.com> <20190917071632.001AC6155E@smtp.codeaurora.org> In-Reply-To: <20190917071632.001AC6155E@smtp.codeaurora.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.29.68] X-CFilter-Loop: Reflected Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2019/9/17 15:16, Kalle Valo wrote: > zhong jiang wrote: > >> With the help of Coccinelle, ARRAY_SIZE can be replaced in ath10k_snoc_wlan_enable. >> >> Signed-off-by: zhong jiang > I already got an identical patch so dropping this one. > > error: patch failed: drivers/net/wireless/ath/ath10k/snoc.c:976 > error: drivers/net/wireless/ath/ath10k/snoc.c: patch does not apply > stg import: Diff does not apply cleanly > Thank for your remainder. Sincerely, zhong jiang