Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4200147pxa; Mon, 10 Aug 2020 03:33:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSrxSWD1s50Am8TRoSAgNGOVJe10Ib1kCKtRVhPey+mtAxCqX8gFkJ+UZAro0MVIbq8xo8 X-Received: by 2002:a50:bf08:: with SMTP id f8mr19709415edk.207.1597055580567; Mon, 10 Aug 2020 03:33:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597055580; cv=none; d=google.com; s=arc-20160816; b=qj91bmT7LcSSwU9osMFV+ayov1jH1LzGpovP04bkLwwFcYa5eLoQldMUvwoJ+M1Re/ 2hVgmWoRw2rAUNmbK6SOEyeFzohkOqaxHtzQGPdTbkXzMjyBz1B+Kl9YlrEo4e+rFxVD yxgfgpBViBrfjjimi+2H8n8HnkRqzV5CMN8xbXGg0UgyVGAcARECAa8pHtKBx73q6Y8H uLl9t65ZSPjtex7+Tmf1ydxgML6Wh1DikEd4XKZS6NSyiQTV3A9L/+v9bokZzTKJwAIf c98h85rOfOlrxqFbjtzbw05NdL8opNHzi9pLzksbpJw6M6RFvDqyCRwNxJATZeqhGhH0 p1iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+d+GxCQkQc5ZOa3c/6qFetI/mxSR4YrNzjtK4MmWleQ=; b=K4JX+1t0aHaKhVO7acTloGQRAd02tvoI1QI+pfxKFLSx8FXNwg7EBsjoXdTZ1KmI91 XoVqhbCuqzCgPZ83KiG5UQE71qidlS9/AD2K7MhpHACda0xe+q8GTflLV/3AKN0kaYJr Tw9p+FfBNrh9l9nG49Ag8r0hs1NbxisPleQ1bl7WU6rgUKpmFK5NuUMtDu1zkwid1e+S tYg7r6ItI7+WX/dzTJ+74Tw4XoTqLyoGH/Oyn1t4Mta/AOy8Mk+xe5/v8x3ZRzReAUDf 5ukMLNsDMFCcWut/cCNEHEMYK25/bhNiFKwnNQdsBosQ/S8vz3VlUqDidiVp5XV5l9Tv FWrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=BD8xD2rg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si14315992edj.109.2020.08.10.03.32.36; Mon, 10 Aug 2020 03:33:00 -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; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=BD8xD2rg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726450AbgHJKcF (ORCPT + 99 others); Mon, 10 Aug 2020 06:32:05 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:49880 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725846AbgHJKcF (ORCPT ); Mon, 10 Aug 2020 06:32:05 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07AAVkjP113216; Mon, 10 Aug 2020 10:31:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2020-01-29; bh=+d+GxCQkQc5ZOa3c/6qFetI/mxSR4YrNzjtK4MmWleQ=; b=BD8xD2rgLKuMfv6zj9QoD5xdWxDRtPZQtRcRrGEq1e0iDcLgTseHHQ1to8wt4WB63g15 lqXJZWs98VKnYhwYVXuvqXyP665AzpmHkAiDwxBgBjIrBGo5EgSRheeY2unMUwWZE276 zONQCOl3IOZrHMhVmHEUEHDk4z7ELCwZTUw4KwWj4QJBiDEppx/cjpNaCnXjVFLiJvbo D1UUKSyqFwQ3qZVHoyK4ggtMnK3tIA7bxTrqwGtOusWgpfBPFIATZLZsZvt9gOPWNka4 u+rnWWi4ej3RYq5k3LZsl7RNMjiuFYQJ21W435betn0JjGSCy6LsKLWSFVbzwZFBGcOm SQ== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 32t2ydc3t7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 10 Aug 2020 10:31:57 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07AATMBw086210; Mon, 10 Aug 2020 10:31:56 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3020.oracle.com with ESMTP id 32u3gybatf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Aug 2020 10:31:56 +0000 Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 07AAVtxW007692; Mon, 10 Aug 2020 10:31:55 GMT Received: from kadam (/41.57.98.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 10 Aug 2020 10:31:54 +0000 Date: Mon, 10 Aug 2020 13:31:47 +0300 From: Dan Carpenter To: Eli Cohen Cc: "Michael S. Tsirkin" , Eli Cohen , Jason Wang , Parav Pandit , "virtualization@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , "kernel-janitors@vger.kernel.org" Subject: Re: [PATCH] vdpa/mlx5: Fix pointer math in mlx5_vdpa_get_config() Message-ID: <20200810103147.GJ1793@kadam> References: <20200808093241.GB115053@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9708 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=999 mlxscore=0 malwarescore=0 spamscore=0 suspectscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008100076 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9708 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 priorityscore=1501 malwarescore=0 impostorscore=0 lowpriorityscore=0 mlxscore=0 bulkscore=0 suspectscore=0 phishscore=0 adultscore=0 spamscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008100077 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 09, 2020 at 06:34:04AM +0000, Eli Cohen wrote: > Acked-by: Eli Cohen > > BTW, vdpa_sim has the same bug. > I sent a patch for that on April 6. [PATCH 2/2] vdpa: Fix pointer math bug in vdpasim_get_config() Jason acked the patch but it wasn't applied. regards, dan carpenter