Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1589165ybm; Sat, 30 May 2020 13:56:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjqEvjuqn4uR/PZ3N3QZQmDRqgDBq7KiwSO4uNDk7HDQpv+CNcTumO6dgOLRvGyeVz5W74 X-Received: by 2002:a05:6402:52:: with SMTP id f18mr14702742edu.7.1590872176623; Sat, 30 May 2020 13:56:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590872176; cv=none; d=google.com; s=arc-20160816; b=r7PbhjgnMOxf1z6WdqR63eGgCCKLlaTwK7W1w4QvM2C9oCUu3aH5YlfWljijGmeaA3 N6zzIOhSmq9HGCv33GWeWQnw1u0OU1qQiCqdjhfrxcL4ZCJ/LtyKKkfBi/065WPBooVp JJ1P9hd1/yOyiyXC/f9T0WqeRdS3SM6cK1lkvPy8Bvj/j8+gonGRCo/HMTnk3iRjlo1P tMUeTI3gQVZGppiFrkJWaJJrfwuKxj4ysK7CSDdlaJXV5Xc9M720B6nIMvjQ4iyOla1P yHjOsE4QHkLH0jmFM7i/e2bRqcTpxz6VbxNfAuy/YKLOjrIhhCIs+nCQdAP7/uZt7jpe s7lw== 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:mime-version :message-id:date:subject:cc:to:from; bh=xw605j63H08pFbKFHsgPllo2g2mBV5dsiKNt9j9qDLc=; b=RaVGIrEywvTpPbDfPVr7yLSNZS9YQ9HcWktkLZXFfbwAOHQbIqRCZClN3en0lou9nB SMvrwr4CvyVhT+uGwVBOMMEmacjkxwzqqGbm6iSqMrrgohXsREsgFC0OQOhVb8v82/fv /tEw8Gvsa+it1E48z1z8r7ggCe0XdrlZtm/nm2JnMCL+iHL+Js0jqVLu6vmVM0lteGUJ hmzjuHIg3/z73a/epiBoOUFeF7yP5gQwhDUeBvkyvuq71I8H+aG/7S55Jb9lvDPmMpW0 VABaYl+yIsqbJ0jEHL36R3NdkWQKiQSC/sHwkoct2rU1XvRViEEFCQOcr12OZQScrd4w 3BbA== 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 cb15si7543095edb.328.2020.05.30.13.55.53; Sat, 30 May 2020 13:56:16 -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 S1729297AbgE3UyJ (ORCPT + 99 others); Sat, 30 May 2020 16:54:09 -0400 Received: from mail-lf1-f49.google.com ([209.85.167.49]:44798 "EHLO mail-lf1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728741AbgE3UyI (ORCPT ); Sat, 30 May 2020 16:54:08 -0400 Received: by mail-lf1-f49.google.com with SMTP id w15so1689322lfe.11 for ; Sat, 30 May 2020 13:54:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xw605j63H08pFbKFHsgPllo2g2mBV5dsiKNt9j9qDLc=; b=tmykBg+vWUucIWYEdM5Odrs2olSYNVnbUZZZDPGx/HjKdvAwC/BMu8sOMaqJhUnPif 8wsD5ZroVqGcM3B009JV8sk7Y8GBvqYuLRh6l/FIaBHokxyvak1YnJzmpySVOtt492Me 3fXq22wkACD6u21EW63/OIkJNgrNBbYxtzMIHHr58BACwQPIjrdgtEpOTZR20EiGmjB2 dqV9u5EZQwK8CYf3BoM34EbHwerGLS9wixVhuSDWP2APzNEzoUROl/Da5eEnxjsPdNBp j2Mmwlu9JzYvXkTMlktaVDPJa8NwkjiRY8AOyVnY29iol6xHDpO7LL8M8OImHKJksjA8 tWMg== X-Gm-Message-State: AOAM531ZKAlxFcrUFr7PkgWUbQ4AQWiQcObBZGvi714UaaDzMEr+KZCc y9O7rMTfmStVnB4FwPtMRMfFRC9o X-Received: by 2002:a19:be55:: with SMTP id o82mr7363818lff.168.1590872045818; Sat, 30 May 2020 13:54:05 -0700 (PDT) Received: from localhost.localdomain ([213.87.147.196]) by smtp.googlemail.com with ESMTPSA id f6sm2816670ljn.91.2020.05.30.13.54.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 May 2020 13:54:05 -0700 (PDT) From: Denis Efremov To: Julia Lawall , Joe Perches Cc: Denis Efremov , cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] Update memdup_user.cocci Date: Sat, 30 May 2020 23:53:46 +0300 Message-Id: <20200530205348.5812-1-efremov@linux.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add GFP_USER to the allocation flags and handle vmemdup_user(). Denis Efremov (2): Coccinelle: extend memdup_user transformation with GFP_USER Coccinelle: extend memdup_user rule with vmemdup_user() scripts/coccinelle/api/memdup_user.cocci | 53 ++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 4 deletions(-) -- 2.26.2