From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5CE93A04B6; Thu, 17 Sep 2020 10:16:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 098071C190; Thu, 17 Sep 2020 10:16:35 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id CF3561BFD9 for ; Thu, 17 Sep 2020 10:16:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600330593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lHRHy3hqLub84dlkCza/gyx+aSFkGk3iusgRcOJOaxE=; b=B5sTCd/gHsVh0MNvYs+us1ySwEVjjoWaVr2DXx/u9cWPw36w50Hyi8jR3kchXASsdRS7Bj I+kpOY7XEDB5Ck9s/TDDuyTXOWnOcMQ0jRB05v+NRWyJlzfvEl7uo6S6BexwrhcfdJg4xt h8uBAeHQ7CdKpSV+FJpRvkXpIXlfmSc= Received: from mail-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-458-2Cm6t0UANYKulYEHoyf08g-1; Thu, 17 Sep 2020 04:16:31 -0400 X-MC-Unique: 2Cm6t0UANYKulYEHoyf08g-1 Received: by mail-ua1-f69.google.com with SMTP id w16so176306uau.21 for ; Thu, 17 Sep 2020 01:16:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=lHRHy3hqLub84dlkCza/gyx+aSFkGk3iusgRcOJOaxE=; b=EpSpb3FDm+z2evvqQFk27DBNn7OsqngcUhKGLEYJm/xsBM7qVCWINvpw5CiPOZSnjr Fv0zSIXpaNOrpBbuNljisiBlLXchbs50qqykVBEPYKaVZoPl1JEw5rAK7MQn7Zl6mxhq Qd5BxAF6CEcBczMdnn7Ar+/lg5zsEpAgqZmYakdFo+szTBSfZFCRwrz5/CIFnpkpC6f4 31cxCa6cFjO1S/LksbrveqA8fYWFvOAxUHCcpo/+FmqG5dja3+6WfxoJQAtiQ6ppzsVp BhJSmTTZb/9A5DhsWziWSzSdoYKAkG9SUk+12VG1ayWbevJ5McyKMNYlDd8JG1Tiqd1I /IoA== X-Gm-Message-State: AOAM532j7fv3I3qmlarqinVbdjYv4HkATctFDr86QpIdfk9TlTsuspyK XnoWO74TiKQqjefJEIpreSM0p/wvAw6jJ/rkFP4D5oEvNPUR0LVPGotZ/9G8+C9hNTYXyTw74L3 SVhlmYA4gPGphJ/UVi+s= X-Received: by 2002:a05:6102:20e:: with SMTP id z14mr16233537vsp.17.1600330590873; Thu, 17 Sep 2020 01:16:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlqLk0WZM4G1219NeEKgruinRydZxvz2g8v0JbGDgUEarZ0b/+MxeW6J3GHJBmZMmA+PX+FA+M26K0pCJ0DFk= X-Received: by 2002:a05:6102:20e:: with SMTP id z14mr16233534vsp.17.1600330590655; Thu, 17 Sep 2020 01:16:30 -0700 (PDT) MIME-Version: 1.0 References: <20200810203610.29470-1-pawelwod@gmail.com> <20200812095150.1486443-1-skori@marvell.com> In-Reply-To: <20200812095150.1486443-1-skori@marvell.com> From: David Marchand Date: Thu, 17 Sep 2020 10:16:19 +0200 Message-ID: To: Sunil Kumar Kori , Pawel Wodkowski Cc: Jerin Jacob , dev Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v3] trace: fix compilation with C++ 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Aug 12, 2020 at 11:52 AM wrote: > > From: Pawel Wodkowski > > trace_mem is declared as 'void *' which triggers following error: > '...invalid conversion from =E2=80=98void*=E2=80=99 to =E2=80=98__rte_tra= ce_header*=E2=80=99 > [-fpermissive]...' > > Fix this by adding proper typecast to 'struct __rte_trace_header *'. > > Fixes: ebaee6409702 ("trace: simplify trace point headers") > > Signed-off-by: Pawel Wodkowski Signed-off-by: Sunil Kumar Kori Acked-by: Nicolas Chautru Applied, thanks. --=20 David Marchand