Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp251120ybi; Tue, 16 Jul 2019 20:03:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdkOcL2Elvo4+3xF3O8vJd2ZQUNukyEvMlW1s63zqrxMQigtlSuU77B/Y8cigKi8Arm3w8 X-Received: by 2002:a63:755e:: with SMTP id f30mr38208364pgn.246.1563332588862; Tue, 16 Jul 2019 20:03:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563332588; cv=none; d=google.com; s=arc-20160816; b=TJOlE7tLIfpDjhBV2NXutHrXrAeqKup7VVIwdahuBVDJ0WjuF9BW7Vv9GUA641HDx0 MgZzSgOHkZVgM71+Xjs40cl/Zn/P2cw6F8MEmhAB44IHKcNzHP8BKVIJD2uJV9FS8Jvc rj6qH0FQl5JV2x0GZkXckB8Isftf0Bm9b7Iv5wmCvsjrmM0lPLf/kTL7UqgEu+pIYPlF iSRQE6evL02UtoG2vByFvcQFFKysckY9jBQoJazS81I7n+LGh6xF+98PTDA7PojLBQb7 FupkG44gxDgMTjdpLrf/9aYTndrxxx6VhNfvwMq7iAH+ntQgphkso6GyuBaEDRnul73i k1Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=moIcfOwT7Q28xvMfB1s79vLckwsn6mLmtlt9P80VoSI=; b=MibhG7eZbVCOyrssSx18AzxYUQuDLw3qnr74VTiUDHbzHzYgb7ltPO7ep4n/m2SQrn wd5dvhOOPD5mC2WZPZC2u8j0P/ehzEouwlTXJPH+X1a4RsN3CI/xEZUujfrD6vOSwXjU 5VsWmyq61bMWvME6VLP3kZNMlzhXrHpGYUF3YRRrvGSee9CF7o7FK0dXi0Dq54SBhpUa dj/tCLhDJRhKF/zpCb1RAb8R2AWm6lHNNPW9EmByEVkeMTXcRdL1+N4pK8tf5RksesA7 0/FikEsd6kTBJ8K056vd7YhMtUTV8QG/GR7/hzqXWoIMDHjhmps0alE2M/sYkjshVLC4 fVBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=w7T5h8le; 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=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m62si22257172pgm.392.2019.07.16.20.02.49; Tue, 16 Jul 2019 20:03:08 -0700 (PDT) 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; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=w7T5h8le; 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728112AbfGQDCN (ORCPT + 99 others); Tue, 16 Jul 2019 23:02:13 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:32898 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725892AbfGQDCM (ORCPT ); Tue, 16 Jul 2019 23:02:12 -0400 Received: by mail-ot1-f67.google.com with SMTP id q20so23391704otl.0 for ; Tue, 16 Jul 2019 20:02:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=moIcfOwT7Q28xvMfB1s79vLckwsn6mLmtlt9P80VoSI=; b=w7T5h8le8kar8GHbeuzqemVg7xntplejAU3LIpPoPxD5rDaA6mykcolHja7oxamFN+ fcNJhXd4DetJySCJdhmgJKwbVMDKSXOWyUXGidrtJe3PTgBeA2og6iz5nw8EfAKyCAy6 Zqj0eon0fp5aANLnzxF0AprfgdUTlPURq0NTh0A0VPAabeJKqJa0f82l0EF5e1m0pJmj OQjFnWnmI/ku6kLWxgppPmqjdvamNgPd3JVshYU1hb4KWI+pOcaeI0O2G+kPJcIYRliq M0SG+Nr6OPh0EAarDQanDv8ER7J0l7mWieCTBgxEmKozT8FVkUxiQXPrGbA2QGxio928 qWzA== 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; bh=moIcfOwT7Q28xvMfB1s79vLckwsn6mLmtlt9P80VoSI=; b=erFQfNGte26Qx6qVUlQXK1Ia4ytALLYej0WdZJddyTzAS5N2PmSTDqsvJ2U31yZApR gqbgjrCX/drqnlRBjqOld9jO80PjPPOdjWUt1PUwtRW+kRcgkyWmIQh+Jfh9Vo3dyCNF cUjWgXeT2/UxGVBzerfk9v3qVa3DshIyz7waQHp9woXDItUW7oNxbj1PTwWS+dTDayBB pv5suF/g5vRGciCN4KdzfiFF/GdfVEXjguscGiFLy9t2wHbnKgUN+JSZBs2HMNl6SWrr TlTtuxJIq+Z54kf0qJK7xLYTx/MJbbI9f3xNeZfjEmc5lheDvDgWwAAeVrpyOU10OyEr Na6w== X-Gm-Message-State: APjAAAUTn1uQ88UPYYTsFP16F32jghFEJFrU/gPsxki4R5YSqP/+BRIX Qzy9lmuq+ROvZ7qHiayxCKQGNttAE/rOQyM3WTxkxh40 X-Received: by 2002:a9d:470d:: with SMTP id a13mr26992706otf.126.1563332531714; Tue, 16 Jul 2019 20:02:11 -0700 (PDT) MIME-Version: 1.0 References: <20190712051610.15478-1-pagupta@redhat.com> <20190712101021-mutt-send-email-mst@kernel.org> In-Reply-To: <20190712101021-mutt-send-email-mst@kernel.org> From: Dan Williams Date: Tue, 16 Jul 2019 20:02:00 -0700 Message-ID: Subject: Re: [PATCH v3] virtio_pmem: fix sparse warning To: "Michael S. Tsirkin" Cc: Pankaj Gupta , lcapitulino@redhat.com, virtualization@lists.linux-foundation.org, linux-nvdimm , Cornelia Huck , yuval shaia , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 12, 2019 at 7:11 AM Michael S. Tsirkin wrote: > > On Fri, Jul 12, 2019 at 10:46:10AM +0530, Pankaj Gupta wrote: > > This patch fixes below sparse warning related to __virtio > > type in virtio pmem driver. This is reported by Intel test > > bot on linux-next tree. > > > > nd_virtio.c:56:28: warning: incorrect type in assignment > > (different base types) > > nd_virtio.c:56:28: expected unsigned int [unsigned] [usertype] type > > nd_virtio.c:56:28: got restricted __virtio32 > > nd_virtio.c:93:59: warning: incorrect type in argument 2 > > (different base types) > > nd_virtio.c:93:59: expected restricted __virtio32 [usertype] val > > nd_virtio.c:93:59: got unsigned int [unsigned] [usertype] ret > > > > Reported-by: kbuild test robot > > Signed-off-by: Pankaj Gupta > > Acked-by: Michael S. Tsirkin > > Pls merge - I assume nvdimm tree? Yes, I'll push this with the rest to Linus tomorrow morning.