Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1905811imm; Sat, 18 Aug 2018 06:58:30 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzQVbxvF6yrUaB4KWolJ8SfB1UgxSGRB4K6h9+rfdhYU+fOwToL91Y+mUJWNeE7Fc5Wx4jn X-Received: by 2002:a63:f44d:: with SMTP id p13-v6mr10780910pgk.257.1534600710800; Sat, 18 Aug 2018 06:58:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534600710; cv=none; d=google.com; s=arc-20160816; b=L6e70Ao+dGzl5rVgJUBg8CkABJvCsTQkgIUcrhrUQegzqiThUviuK6mcj5IijOuGOq O2vGQYwa6U3eVCIiKZ6P2jUye7KFiljTZ6eYQsoNwNZOXVW288bcVnF+d0AsV0pBePFn I/x47VeVLdcbC/sVK/OE1ag4feK/VaBR1MEvUNkSjcQotIRb0JoUYTkGTwr3t4uJviPR Blb0N+Um8kFRBsTdUxJqSpBh6V0GzNAWBJ7ROwWywOHsFau/YQk4h4NxufAXKGDr1jTb mjXmdTML8d2kdptd3QNRL7ppyKkRAfmjJRJPRLHZIpatKF2f2tdBKzRosSTTibRQhXmS Irsg== 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:arc-authentication-results; bh=bjZtDuiRgzCZzvwQlRvHNUs5vqillL0yGyL1lUK/Geo=; b=e1x57MgocZsB+05Y7W4jX3wF6kYMPHDuU0AgihKApourPiunK7ad7ithHZVIUVGfcY WaNERrA9s/Qm8EQBYw53TGFlMP/1WyCu3qNRWVCHnmvz2VUPpKh+AihU4+SzwPKAedKC qsVEvWE5yzxrblYbNygavhTbnr/h2D7k4RJJlhEzGq8Bfww62aR9LwZ+08kpR5ZWifj5 abZtCVF2ZHvF5FuyfUySfo+oJcIScHRpVRQ+BDdJVkvcMXIixdQZGx9CBzlWVK75Niv8 YgvesTA8Fzz3go+/G2L4G+3PjN5N6IAuiSAl7fX6Bn1PPJ1UVoBxP4Cu0yZ4kGLWqSMv pXIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 n125-v6si4886220pga.376.2018.08.18.06.58.03; Sat, 18 Aug 2018 06:58:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726272AbeHRRD4 (ORCPT + 99 others); Sat, 18 Aug 2018 13:03:56 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:11137 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726202AbeHRRD4 (ORCPT ); Sat, 18 Aug 2018 13:03:56 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 1BA2EF0B2C6D6; Sat, 18 Aug 2018 21:56:04 +0800 (CST) Received: from [127.0.0.1] (10.177.29.68) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.399.0; Sat, 18 Aug 2018 21:56:04 +0800 Message-ID: <5B782572.5000802@huawei.com> Date: Sat, 18 Aug 2018 21:56:02 +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: Himanshu Jha CC: , , , , , Subject: Re: [PATCH] Coccinelle: remove pci_alloc_consistent semantic to dectect in zalloc-simple.cocci References: <1534593700-3036-1-git-send-email-zhongjiang@huawei.com> <20180818125228.GA1000@himanshu-Vostro-3559> In-Reply-To: <20180818125228.GA1000@himanshu-Vostro-3559> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.29.68] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/8/18 20:52, Himanshu Jha wrote: > On Sat, Aug 18, 2018 at 08:01:40PM +0800, zhong jiang wrote: >> Because pci_alloc_consistent has been deprecated. We prefer to use >> dam_alloc_coherent directly. Therefore, we should remove pci_alloc_consistent > ^^^ typo "dma" > > Also, typo in the patch subject "dectect" -> "detect" Thanks, will fix it in v2. > Otherwise, > > Acked-by: Himanshu Jha > > Thanks for cleaning up, we still have few more *_alloc/memset > in the mainline, especially in the scsi subsystem, even after > I cleaned up with two long patch series in the past. > I post same patches like *_alloc/memset in the scsi subsystem. Unfortunately, Maintainer maybe do not care about the change. therefore, None of my patches are received and rarely feedback. Thanks, zhong jiang