From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f179.google.com (mail-wr0-f179.google.com [209.85.128.179]) by dpdk.org (Postfix) with ESMTP id 1C2702BB0 for ; Sat, 8 Apr 2017 21:42:12 +0200 (CEST) Received: by mail-wr0-f179.google.com with SMTP id c55so53299051wrc.3 for ; Sat, 08 Apr 2017 12:42:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=z0mSDz26xtxd8hgPw/7rXcZeozIs41H+hK6mj01PWDA=; b=CaJQ1inLnoTZ/VuKba6851eCgzRNV+r8hWPtbX53PwMl0Lt9VshDSuolUuvOYgvBxg jLlwCVO9Ik1gw3xu2JbpZOX1ZxxLl0ck89dxPffAIGduIlM3ur19gtlQJcsZO1Rtr0YL YXjZBN3V3TPXC4VqiDHoEuK91RVKDipFm8CmxHe8Vzowkfg14/B/MNZNckpBPuAnfnCI Uukv2eu/CfN4b/05hLCH8jCLZM0di91GTFJg47f+4bNLiuoGzEhbKio5MFxWqb20VLLs XJZY20KaekKM6VcMG0FmY7zln4ZmfLLaPyzinPZGeEnx0IRiPaBmec10uiw8WxUGTGLM V81A== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=z0mSDz26xtxd8hgPw/7rXcZeozIs41H+hK6mj01PWDA=; b=RZ9k16ZEdFWsf7Gsa1IqaGbKVkGLZYNbFeXSVKHyRriaYqNlwGmza8g7CkgDUe/19M BOTmOvt90hGvBg8qT0I/9a9x5A45+n3nJpOtj8ydWU+eLlYrQnc90HIgBgCFcn3m1jI+ 3LqK/bSU+cMmVrVVwdMbC/8SPEbFljzrzDoDnRJdjWwXbYyyTJ0PkJda1GpDAakYPRbt KMkwKYCe6V78m8HNnr0LR33NPXcU8ct1/VkSlCEIng8tU6rqwTkcYPosdwZ1aPs5aASM U1yPbQIdhEzT4pUKNjXefn+n6xWOyAKgpyxE9iVeODO3fyF03H/1kpuCvXhm76fw9R0J RS+w== X-Gm-Message-State: AFeK/H1OqO0Cbj7FHFh8rrAWaOmNKpodcHhm5kd8xhij1KCXls9sh4BqFO8OVhjT6W2QgQ3F X-Received: by 10.223.142.23 with SMTP id n23mr16191716wrb.188.1491680532779; Sat, 08 Apr 2017 12:42:12 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id l141sm3776992wma.32.2017.04.08.12.42.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Apr 2017 12:42:11 -0700 (PDT) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org Date: Sat, 08 Apr 2017 21:42:11 +0200 Message-ID: <9945602.81JtpDgpo8@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20170407174457.4180-1-stephen@networkplumber.org> References: <20170407174457.4180-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 00/11] remove unnecessary cast of void pointers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2017 19:42:13 -0000 2017-04-07 13:44, Stephen Hemminger: > This is a set patches inspired by a set of Linux kernel patches > by simran singhal > > The following Coccinelle script was used to detect this: > @r@ > expression x; > void* e; > type T; > identifier f; > @@ > ( > *((T *)e) > | > ((T *)x)[...] > | > ((T*)x)->f > | > > - (T*) > e > ) Please, could you add this script in devtools/cocci/?