Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp174786ybh; Fri, 17 Jul 2020 23:46:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXkvfqW1cYxHNmQYQxZeackXP8Ay+eDENtKe1f0eCKm0JgqctD7mhkmfttVWK27JyiymU/ X-Received: by 2002:a17:906:511:: with SMTP id j17mr12445360eja.434.1595054790433; Fri, 17 Jul 2020 23:46:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595054790; cv=none; d=google.com; s=arc-20160816; b=MeiuLnCZegDWO/NdLs6MMMgEx3wotNHOkQwm7ziV2iYZjwhnnh7JUkU8V9orHLIgWr k5nNLPP2anya5Bv7obUHdNDawO570I5Anl3nuhqayKdiPPMnOcAOQBZkl7oKrx/+Q9x5 rkUeolSM28OwsVFGI+ADybDPZZsAm35azTBO+vpFBM0ttqDDjEjXUKRoGBMctODxqKG0 h+HI98FcN9Ajp9kxjyl1/Q5DVE7h3sma4rIGVuAF6T8L6QqufdgxRVVXsDMppf5SauYr p7gTVY0dM2k9icxp/XUXtLI4A/Ku/3sH7L0VLcSad8gVrLKFP9q8YqXoDU/dA39BSI53 MzmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=VnzlbkZ++feelpfZy7g/F28HOo2i2yp6k/6IYVERBTo=; b=wWmA5cn4zckUywVQg1WBpoVICBxyhl5ODGc1Pli+1lXFt8HEGq8nGbUxHcLXksQcIl P0fIW7t6YD23/Q8sLlVChg4UCe37w8FK0ci/xo9UTi0xQQWTwxqA5gWt7Xcby7U9LlHY RYwXLjT5oFJRJvv1omu6fhkMcPxpvO5btX0Z1d8PuGm80sjEu3LO5qm5x8yJbpRlnzsR ZznvCyCHhHiIFt8Zlqk8fdqjaAdh0VHZhoowKKWMEJG0A8DDnM/7n4I8J68XEujL8MSL xf/MVUY2Rzxq198kYiiCaDU2/mx52ZFcpBo3GXp9YSySySlBmQO95VZlFmCdu/fPLb4m +v/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n1si6379630ejc.134.2020.07.17.23.46.07; Fri, 17 Jul 2020 23:46:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726672AbgGRGpy (ORCPT + 99 others); Sat, 18 Jul 2020 02:45:54 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:23447 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725983AbgGRGpy (ORCPT ); Sat, 18 Jul 2020 02:45:54 -0400 X-IronPort-AV: E=Sophos;i="5.75,366,1589234400"; d="scan'208";a="460283661" Received: from abo-173-121-68.mrs.modulonet.fr (HELO hadrien) ([85.68.121.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jul 2020 08:45:52 +0200 Date: Sat, 18 Jul 2020 08:45:51 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Markus Elfring cc: Julia Lawall , Denis Efremov , Coccinelle , Gilles Muller , Masahiro Yamada , Michal Marek , Nicolas Palix , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [v2 1/4] coccinelle: api: extend memdup_user transformation with GFP_USER In-Reply-To: <0b9f2c58-e124-22d2-d91d-62a6e831c880@web.de> Message-ID: References: <0b9f2c58-e124-22d2-d91d-62a6e831c880@web.de> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 18 Jul 2020, Markus Elfring wrote: > > Applied. > > Do you care for patch review concerns according to this SmPL script adjustment? > > * https://lore.kernel.org/cocci/5c0dae88-e172-3ba6-f86c-d1a6238bb4c4@web.de/ > https://lkml.org/lkml/2020/6/9/568 This one it complete nonsense. > > * https://lore.kernel.org/cocci/c3464cad-e567-9ef5-b4e3-a01e3b11120b@web.de/ > https://lkml.org/lkml/2020/6/8/637 This on is indeed a problem. I think it was not detected in testing, because in the current kernel the rule never applies. But Denis, in - to = \(kmalloc\|kzalloc\) (size,\(GFP_KERNEL\|GFP_USER\| \(GFP_KERNEL\|GFP_USER\)|__GFP_NOWARN\)); you do indeed need to put - in front of the second and third lines as well. Markus, if you would limit your comments to suggesting SmPL code that is actually correct, ie that you have tested, and 2) stop suggesting stupid things over and over like that putting all of the virtual declarations on the same line would save space (it does, but who cares), then I would take your suggestions more seriously. julia > Regards, > Markus >