Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1850523imm; Sat, 18 Aug 2018 05:53:55 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwpJNDeN/4zp+vjIrYt5+q0QvSpB/7tGJdQPva8247Xy/lITVfnxQa45m8Q9/i72JFU5aSz X-Received: by 2002:a63:cf4a:: with SMTP id b10-v6mr36826618pgj.235.1534596835052; Sat, 18 Aug 2018 05:53:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534596835; cv=none; d=google.com; s=arc-20160816; b=JPolk21zVEA/d9C2FJhtUKJh5Kb0wsNYUv6LGEn0BpO1DUN8EQrQ563CJ0E5ex9IcC Yh4MMG9YkJpLTzWFZNVdJcjoJ8AcGDARrrrZb6jV/dPX/CHviIsu0b7EYQ4K5stSdtl4 3R7qKmNNttIzXjzoBFFKNHSexGkrf0rVUi7Vx6VMGXfy1BfYgP8aWMfTL0bHzQ3HHBPv TgC9X89vGvvwyxP0o+6EGsEMHn7+/xQIPO1Ztapo+v1hHieAfKGtSIWku80dmcSkaBzE 4w7aTAHSp6uGasG7k4hkx9vEhmCRo/oQSHrBcdpHEhKyVClLRiNnGXNW2wozpYtQb50b th2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=seSIZPjUZPiwjy+3Ee1fTWgupvgxRWmea+taMEQK4UU=; b=Qh9l+tIZQIKvfzK7rV9OoIDJzU8InMLIFJ7qtRXLb8RnvcegTsPY0Hiy5TgoFoQlXL dDBv3tNdxRxFtdtXlpRpzLEjU5MgH+YGQKfpgA3Kl2sxCgiga+2clr4LdRU7liVdpnGk wJOWPr0zKZim45s+j2sMsOOz8TCG/0Ej9OIcBEm/torTJQUtvr2NtgfxjpatZ4cCMHwt DUxM0sC+f0lEjodW0960aMDSlh0R2/k5hlutAghzKgzKVxdPduNX1/8FIIGyY8BlWE7e IxA18TAw8aUyxqFA1rhMHQ5oEmUDrBAsR+xcR9lwLs30Kw+YFkMDhPzAbGEOYx/hmdB0 wPDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j7hUkASi; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13-v6si4405791pgk.344.2018.08.18.05.53.40; Sat, 18 Aug 2018 05:53:55 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j7hUkASi; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726230AbeHRQAN (ORCPT + 99 others); Sat, 18 Aug 2018 12:00:13 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:41904 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725886AbeHRQAN (ORCPT ); Sat, 18 Aug 2018 12:00:13 -0400 Received: by mail-pg1-f195.google.com with SMTP id s15-v6so1971069pgv.8 for ; Sat, 18 Aug 2018 05:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=seSIZPjUZPiwjy+3Ee1fTWgupvgxRWmea+taMEQK4UU=; b=j7hUkASiruhNQBJKHoJnZu7wRY5WJP2Cp9QymapihU0d0HBS2BF0bN04uLw19zOFOs yKxpY6VEE31ImXE13o+ssHgr8KmQEFBXgwtajJl01WlafHGybkVZvRF3RuyTzLElxMlZ N0u8FM3RNiRDjjZ/RITzfQV3Fca1c2111kNj6e3bKX/qcQbafuUs4lZ87NgLH1SeO11H ocuW1N1ufzUUa7XrQyt29ES1nP77wa2WirCi6y8ekurYoPk+Cpqyzq+qPxmFEg4b9X1O K5LqGLRkpgRixfTcHj3fJuG7Ab75CIRvG0C/tLqONZ1IlmVg0qiORuvC12UfaeuxogCr mvwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=seSIZPjUZPiwjy+3Ee1fTWgupvgxRWmea+taMEQK4UU=; b=EQhMjWo6UsdyR1Gt2V6Sa3wnFOqf1gogVG2FzQ5GB5vQVVMn3OIeOr9n1lM5CYYfOR sbPprEKEoP76RQP8O/EDPAX77kChfetzInISwb5MUG/e5Mc/QlElSdAwZd6WOpXee4Pl HJp7M4uDhPoEDaZuGeUM30/2pVuwU2s8wcv/cDvJR0w75WVGwH5pVSKQLLR5KAwf/PyQ KE/DeMZ4ZWMagHgujUWwXWcag5L59EvtljX1CtJ1/i9Z4LWRyMjNvy70HjQCYzOnIKt7 q86AHunCM/KEUa+4VvXB38LnzSje9LOZc6p1/0eoP6fY+5DtPSqS3bY+n5SdZ6J/eXlW Jtng== X-Gm-Message-State: AOUpUlFBlNCJXYV2AItnkxiGSj2EUfWj00PuUfmzZqBiZMiLcrkasHYS 5mEQMYXsMaxAhjCQvkf99hc= X-Received: by 2002:a63:2e09:: with SMTP id u9-v6mr33664011pgu.294.1534596756367; Sat, 18 Aug 2018 05:52:36 -0700 (PDT) Received: from himanshu-Vostro-3559 ([103.233.116.134]) by smtp.gmail.com with ESMTPSA id 1-v6sm10390927pfm.145.2018.08.18.05.52.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 18 Aug 2018 05:52:35 -0700 (PDT) Date: Sat, 18 Aug 2018 18:22:28 +0530 From: Himanshu Jha To: zhong jiang Cc: Julia.Lawall@lip6.fr, Gilles.Muller@lip6.fr, nicolas.palix@imag.fr, michal.lkml@markovi.net, yamada.masahiro@socionext.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Coccinelle: remove pci_alloc_consistent semantic to dectect in zalloc-simple.cocci Message-ID: <20180818125228.GA1000@himanshu-Vostro-3559> References: <1534593700-3036-1-git-send-email-zhongjiang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1534593700-3036-1-git-send-email-zhongjiang@huawei.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" 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. -- Himanshu Jha Undergraduate Student Department of Electronics & Communication Guru Tegh Bahadur Institute of Technology