Received: by 10.223.176.5 with SMTP id f5csp2680852wra; Thu, 1 Feb 2018 04:29:46 -0800 (PST) X-Google-Smtp-Source: AH8x226fluJK86jHdRo3LGeIxomW1XrMJ8/VbdW94zEdCD8OpkLSzr4e+A8r+4bvem62gjxaMasl X-Received: by 10.101.81.68 with SMTP id g4mr27796151pgq.276.1517488186693; Thu, 01 Feb 2018 04:29:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517488186; cv=none; d=google.com; s=arc-20160816; b=j0gI5DvW/RUXMpvK6Q2zllFT7H7tk9JpRwq0TbZk3RqYv0R6EKqtotPqG83eknRbo8 X9tMxN7Zyh/co6Gt04GDR+UIIGiDshFsGGSLKMU39zUuww5Av+p24cXgFsP5IWf7TtSx jcZMlfchHhYfpgY0mhCuRfC+loa8t/wAAwo12jnCWlTxnzF8mo5Z7qMSmrTzO0rkZrw8 8mvSsnpAD8az/XtNEk6Q4Fa5pLHmc9ZH8Tsmm9Jbq/tcfjN6EfX48W5/EmJFtsbAfpQ4 r6mllKj1ZD8vdJxexHdKJr63U48zS2tThDSMPSbw9lJIAuyb6NjtmrKSGo3BKxVRV1pa AXcA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:cc:subject:references:to:arc-authentication-results; bh=D6kOB7EOAt58F4B8oZwOlOBsXpBXkv4nDTb2Qle40pI=; b=xFzx8LTwRTAFPRkbZlutrFeDwLC/FhCuSjx7HUXM6UAY2CGZJhcnAu52WajGTq2LN2 0m4j8omnsdHTIG8AjJpjVjAxA82uUeY1DGUE4jQL40BFX3FdtWhYjAnmgACNVkOoDSJo hTtIfdNAcAbqU7LoGa6bouVIUFkBD6lqkm/h7OkiLwskfOxPHAGCfD8VPI7ZlibgvGaY +PFgUdlskk/+Pmr/5KqOKZuVWpgFZkjfgBdp+rR0jiYvm6rSxzbNLwl46a1CmPOEayFb w360kyJQSHTM2Ne2rytLT2k30V3N9Gnpjg/RvpeRk0eG5JoAH/5Th7y99Fpc/sFWbNQW xRNg== 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u27si1654000pfk.385.2018.02.01.04.29.32; Thu, 01 Feb 2018 04:29:46 -0800 (PST) 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752529AbeBAM2x (ORCPT + 99 others); Thu, 1 Feb 2018 07:28:53 -0500 Received: from mout.web.de ([212.227.15.14]:61270 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751916AbeBAM2s (ORCPT ); Thu, 1 Feb 2018 07:28:48 -0500 Received: from [192.168.1.2] ([77.182.97.34]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MWApN-1eETju1TT7-00XJtu; Thu, 01 Feb 2018 13:28:43 +0100 To: cocci@systeme.lip6.fr, Julia Lawall References: <1517478532-5444-1-git-send-email-Julia.Lawall@lip6.fr> Subject: Re: Coccinelle: reduce false positives Cc: LKML , kernel-janitors@vger.kernel.org, Masahiro Yamada From: SF Markus Elfring Message-ID: <9878b76a-bbd5-94d9-a08f-711a3c2abf30@users.sourceforge.net> Date: Thu, 1 Feb 2018 13:28:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1517478532-5444-1-git-send-email-Julia.Lawall@lip6.fr> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:vvV0mkrdR08zOWNoDQHyCWX+huIW2sN6RKC4z4dOB6pNSw4poiD fbAmeTm7XRRhClteo+Hm4h0I0dI+YKjPKAz0sUvMqCpWrPUWQLaFxvMEUDlaKTSlebTFtDF a7tqT6HrMdh/OVhAG/mMf0R+EGYHlEVssKRABbrFcfCS/Hy13UIOZlAvEaGcmnhEcfxC9fU pAkD5w1D1f10MvUFU7SUQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:+qkRXwRqlIA=:qFefBmVC4gL6eT0SJOdVp1 wzeFZ/ymHCJd+67vectNIPT0CbYbP2KKd+L3pmwspbNw8+rCrEsRA+KTX8gFQOoAMUNyaIgpo SbF54ZGz6LgfQu62MLNsLq29FAVEmxzKfRI3yHufKOnAxqkVVWQTJJYQufEIRsuZRjiToxK0Z BonCtRya/M3z4cyBKyEe/OVEkDW/3Y67EgQyPTM47U/6zb0QrvEoMclubHr5kOphLBlhRMJJ3 YmNRrp1UskqrY1cWrSIKZ/Ie/gooJ8G75CAGPQd+4hP6kkeI2A19Ua48kRVo/JcknuoFOYfKQ YVB1RNWLNIKxN6gh/Q0UjaYxbAZt29Qd9Pw9O5KTF85xLCUBFwQgph41rTqKFe7OkGVr872st 04UU4u+R1g7TCJdBodZ+Q8K1Wpf/6nDfEc75O9EiCRZv9zC6mCl2OF9x61+FoR4B/v+R0Wrex pf3veUZ7QC3AiM806lHUWhXtMHC0sqSFXDZrD7hw0rrF0o75vksFKRZ040QzCKwSfdNWCO6Pk i+MYrUIvzUKa2L+wPrJS1VTaHkLaXv0qhykYlSrQGYXGzW4ozfk2m2XYVqnxmMsFv6KH5j0Jb 8WnzLIEbguG1yZl2DK0bPsCjo5fMH1uaa/JkvT8marQXnIHF8EwMW1ZUY7KQ0UXaXLlJv69Aw CFpIMdmVI9tgbpfjPUY6lc2qFsEFiQTvk5MhIdBpzbX44SUZSADBilB5EXn3xHYTllS91SVIi UPrQXbpdZSY/Us7y0a38Vhwph2Jz0Ib8AvWR4C00NAcCBVUJzlolv7kmbLZGQ4Opwvv5nbJ1E GGoSzUk0z07Vtzra0vkaLAWniVGF3U+treQ8XBuSQt3eocwpAo= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +@safe depends on context || org || report exists@ > +expression x; > +position p; > +@@ > + > +( > + x = kmalloc(...) > +| > + x = kvasprintf(...) … * How do you think about to reduce also a bit of duplicate SmPL code? * Can it help to work with nested SmPL disjunctions here? Regards, Markus