Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5954859imm; Mon, 23 Jul 2018 08:53:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfpCodsPAmsTfZkImOTZlHW4K+QNB7y+webF+4MbbKNRVyCN7vKw9vrmOAdp96mCttKykur X-Received: by 2002:a63:89c7:: with SMTP id v190-v6mr12480198pgd.194.1532361186099; Mon, 23 Jul 2018 08:53:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532361186; cv=none; d=google.com; s=arc-20160816; b=Y85WLsb+rFfq0jGib/xHf0Z9RRrOQ6g8eYOQ7AiRKROe9BNv2osNAPlFxvHIKGwrYM tY07i1Mhvzp1RsVYEIiXjMpdYKwMVRodIGQ8pOaA6MziXWUZial3dsZFt1ZCG4iVUtHP PbTnYrX4xQ+/K9FtXRvpFW6qJHmiK+2ERmpBrV+jdtHhzoDXA3s9oiKOU8xwVvAxG99w Gu636IvjVGi1e1EhVMGtsMSPTgPWGCv0gppZiIBu1JutMWMI8xDcrAff0VPNoywKwfZw XSJY28YWO7Gwt1C7MZCBihhVrBSRayqYgk6CqcdH7SPajuvIPPKCPkDRzoif7fOWbobw CjsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=e/+YkBIFqgm17B6seWAJvQXYqaJl5XaARdyHaH9Baog=; b=fPEPbn9ywDR+3+6BG/1mpXIQ20nUTFQOWahcszyFdRVQuSxXKdBGElhBQsGFV9F8Fh gKZGoYUfzrKw7OOeVzK5hKEeIQXVnYbYdgb1RUxf2i0ACYRk2v2TTlgXGLHJ6uF+DMff MPrwncbRmYLqfcFZxffEjXlQ1G8igF1W4w5sjYEtKYAB2Lv8qrq7lbPUFguIpF07swVV IFjQMen/KkE1aj/AMtT1Wic8zp4CVV9fFkxDWvIMXvQgEEFGYNrm72jXJ7a7AiefXzXY 3jq3/af8zl32Vkb5nhwJcyiUGB29YDz5jJA718ZF7ymTRJRgUl9YA+/Tc/h+Bj5bmdPK dBLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@epam.com header.s=selector1 header.b=cnXHEH5c; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=epam.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b9-v6si8433351pfi.99.2018.07.23.08.52.50; Mon, 23 Jul 2018 08:53:06 -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=@epam.com header.s=selector1 header.b=cnXHEH5c; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=epam.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388755AbeGWQxR (ORCPT + 99 others); Mon, 23 Jul 2018 12:53:17 -0400 Received: from mail-eopbgr40040.outbound.protection.outlook.com ([40.107.4.40]:46495 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387968AbeGWQxR (ORCPT ); Mon, 23 Jul 2018 12:53:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=epam.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e/+YkBIFqgm17B6seWAJvQXYqaJl5XaARdyHaH9Baog=; b=cnXHEH5cofvS5zKTqGzfpyEwMIbwZawTRO7D6mF/9ynWjhWlco1b2OGbDbCZ+gQg9WJlIOkyQ46dzVwpm6aiFOYEo/SiaNEh8e5fjDzy0BCU/w46OBw6yLRY+HTDUHUuncGB/SDnNSAo9Z/GVIi8N+RqXUwLR7k9rh+bXGg9Gn4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Oleksandr_Andrushchenko@epam.com; Received: from [192.168.1.122] (46.211.25.138) by AM0PR0302MB3202.eurprd03.prod.outlook.com (2603:10a6:208:9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.16; Mon, 23 Jul 2018 15:51:06 +0000 Subject: Re: [PATCH v5 0/8] xen: dma-buf support for grant device To: Boris Ostrovsky , Oleksandr Andrushchenko , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, jgross@suse.com, konrad.wilk@oracle.com Cc: daniel.vetter@intel.com, dongwon.kim@intel.com, matthew.d.roper@intel.com References: <20180720090150.24560-1-andr2000@gmail.com> <019c0eb6-8185-d888-ae6f-305ea2d44124@oracle.com> <80a074ac-91db-82db-d094-660d859cf903@epam.com> <9d2889f6-32d3-03d7-2a6d-341e691287b3@oracle.com> From: Oleksandr Andrushchenko Message-ID: <5fc34b4b-3587-791a-d17c-7da955b393bd@epam.com> Date: Mon, 23 Jul 2018 18:50:56 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <9d2889f6-32d3-03d7-2a6d-341e691287b3@oracle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [46.211.25.138] X-ClientProxiedBy: VI1PR0501CA0031.eurprd05.prod.outlook.com (2603:10a6:800:60::17) To AM0PR0302MB3202.eurprd03.prod.outlook.com (2603:10a6:208:9::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a41a04d8-49dc-4aa3-e75a-08d5f0b42320 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(5600073)(711020)(2017052603328)(7153060)(7193020);SRVR:AM0PR0302MB3202; X-Microsoft-Exchange-Diagnostics: 1;AM0PR0302MB3202;3:8IpbSqYZ6XM0mNBvmGMTF7d0oOU1Y1bG672XeGCltUqPFMpVMyJSmkabWoquSSWV2kWXvT4fpYemzCrZeTbwgCCM58CM9pFahx/A8w/tacLq3tOzsDDr6UUat9RP59n2hhsTaNI2DrkvrAPTvXwm3rbzXVvSOM/CpB4/eUk+u661djdUceTjqxP96d7xA4JyxhD2ipKSkEN2k+h6oDsU5AdeY/kQ4OEG0E2Zs2nYQWnAT/K5CgS04U3Fw/aiTyXy;25:pzc+o4+rj5hofwGE1iS3nVnEm2J7HDDHyrJKVEmfaqTxOBENWVlscqhibi3hjGrveIxMX7wQGrOPVQJyWmhMVM29JG+wap+yw4aUwgynb00JhAdR+65kTXPpEQc1DcxTXE0qkhqF3pED/nZW5V3f9CjktfaQB60HIMZLfz/FIKU/oJzOHTkuASVmbErNg37S0LWjuar/I2mBpOtBKx2OVO5wvQ2VU2oHLOlO0Ig0qqTWd0q2egahFo9xHPauS2oA3HkECM2w3pOk7W3WmNO9ilxnBXW1le3m6sCigByCooX1n2/tiwpnEwNujBwythLBRKCT2KzB2hgSWcFs8nrlqw==;31:kmBd/PhasfP7ouUJAVU3AGpm8/2mb2frGvPdm3DOM4W3h6yLTR+zEawi5kPtuUgYezDOf14u+gdzs+zjeLwILQw+qxEsWs/w+L4fyMir6PwqVWLmPMQS+RJHBzw8gC+j5Puxw4kMQyIym89cyWCFho0oLkpp/WEdwiTu5xj6teWo9iXTqiQVo1yv/GHPRvR5pCFQ7Ib/dWc4QdNKEY3O1/YIGVlvtw2o8fBDH5JTFrQ= X-MS-TrafficTypeDiagnostic: AM0PR0302MB3202: X-Microsoft-Exchange-Diagnostics: 1;AM0PR0302MB3202;20:PgngyuXtKWVkugohnVKL9jxpUJIEahFRa3l8YyQ5jex7rDYThyt2SBGeDT2p97Eoyjc+cfBzm8Ae95whQmyhyLFZrYI6cVDRRtaPj+GBouVG0w835hyN95hLJzNVRR8VN58FA8GZ9DUaNnKJjSiPeJl/lMqLtUy9CvVeCQvHzi5mD9OChoEF9ysl4bTT6FQLtTxPWdY2l82ruWE2RXYHgKQlee7w+a/OnAnfIlMKsiKRgOb9ytQrMgSDhozzFSoUeU43Bw2sCTMv1HMLGXfDlhSU/H13XUlYaC8SZ5UhzEzagQhcXPUXA30OATtp623sOVlvBHK/Fxt5/sdFy7Ufn/Xpu8kFHeaq5NFAKOv+RKgcwJaLojrXv7NvQEuPhaFbtXNyKMFEUOUHd+7GJCIWOFhqy796r/zL7nfeVu+OcvLDSF7Aax2557FSI4XrCTzQOCA1q6+wHqU9khJYlrxw+Q/I34X0y+a3Eb6TlPjGkRz/KrWu2wktVHbdAupAbwgn;4:ppMD+rvfQCsjj55tH8UqhrLpWunCZSyDIBN8KD20wTtWHWFDWx1mGBreGrwC3R6vjSleh3zDcZg84Hz6YPVgJ4qG2zVpb3vlmsbWDmXFtpG7+ljhDkRSipjQFatYdRLf9mGzT9tpubviqff0gT+DIt3hcyE5DYSqRR1hC2wET7aFZqBvMLhUXXIXqZjL+AOmVQMHjWupE43l0EY8EmfWRmNn8t9GfBK467wvRJ6MsVGYn8OkOYmCdUifYkw2SX1CUZ9UvSDvLBT3RvLI+BW+Zg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231311)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(149027)(150027)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:AM0PR0302MB3202;BCL:0;PCL:0;RULEID:;SRVR:AM0PR0302MB3202; X-Forefront-PRVS: 0742443479 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(39860400002)(136003)(376002)(346002)(366004)(396003)(199004)(189003)(50466002)(4326008)(80792005)(68736007)(106356001)(16576012)(97736004)(6666003)(476003)(316002)(26005)(105586002)(58126008)(186003)(25786009)(110136005)(2616005)(81156014)(77096007)(53936002)(47776003)(55236004)(2906002)(53546011)(386003)(52146003)(76176011)(2486003)(93886005)(23676004)(6246003)(16526019)(956004)(11346002)(7736002)(31686004)(478600001)(72206003)(446003)(64126003)(65826007)(2870700001)(486006)(65956001)(8676002)(65806001)(67846002)(39060400002)(66066001)(229853002)(36756003)(7416002)(6486002)(6116002)(117156002)(14444005)(3846002)(305945005)(86362001)(52116002)(31696002)(5660300001)(81166006)(8936002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR0302MB3202;H:[192.168.1.122];FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: epam.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTBQUjAzMDJNQjMyMDI7MjM6aWI4K1lYaFVid2FORFVDbGVXSXlRY0ds?= =?utf-8?B?S1krMmJSN2VLTlg3TFBYZi84N01XSm8yREZhM0NaYkV0QThXYTc0V1MveG9y?= =?utf-8?B?M1M5RTZzLzFGbWR5eUNyL3d4QnBTMjI3VkNPUUNaMmh4WUhXeU9MWUd2N0FO?= =?utf-8?B?c09mV0lIWmJHLytxRUdmTFhNaTBCYk9JMHRERTFYR1BaenlUWVRLNEpOREk1?= =?utf-8?B?SC90TTVHRmVvQThPQ29SamhhbDAwekIvS0VWNnZQcExlamh0T0p3RlFTbk1G?= =?ut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nz8Rps1Q6x1mcN/a0pNC9kVFPihR+USrBIuKRQVlL6lM9RhVuCvArbK1rY2yOJmrcTGWc3HLuGCTI8XfETyBg=;7:hgNVjVHFamNAin3WxFsvt5eiN2/wZjTtGewSaSmPT2RbYSpw7tjMAOwRs9K43BaUqbSP5pb6mI2pgPGE0aBt3DIpyPCNSCYTzY4JTIotDgAY4B2k7qqi/2wrFLZSlpNm1v9Dri+N/sW1wjhVsHcVmYZIILhMrfIO5a4U6OLxN0P2lfrL5+MZl2mI+dS3+oUS2DB+5azogt2MKdsVOCCTmebmxm/ovzTPprAT+jcQObGN3vrnJ9CbFg1Iv/kqyyx8 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: epam.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2018 15:51:06.1696 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a41a04d8-49dc-4aa3-e75a-08d5f0b42320 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b41b72d0-4e9f-4c26-8a69-f949f367c91d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0302MB3202 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/23/2018 06:22 PM, Boris Ostrovsky wrote: > On 07/23/2018 09:26 AM, Oleksandr Andrushchenko wrote: >> On 07/23/2018 11:38 AM, Oleksandr Andrushchenko wrote: >>>> data/upstream/linux-xen/drivers/xen/gntdev-dmabuf.c: In function >>>> ‘gntdev_ioctl_dmabuf_exp_from_refs’: >>>> /data/upstream/linux-xen/drivers/xen/gntdev-dmabuf.c:503:6: warning: >>>> ‘args.fd’ may be used uninitialized in this function >>>> [-Wmaybe-uninitialized] >>>>    *fd = args.fd; >>>>    ~~~~^~~~~~~~~ >>>> /data/upstream/linux-xen/drivers/xen/gntdev-dmabuf.c:467:35: note: >>>> ‘args.fd’ was declared here >>>>    struct gntdev_dmabuf_export_args args; >>>>                                     ^~~~ >>> Strangely, but my i386 build goes smooth. >>> Which version of gcc you use and could you please give me your >>> .config, so I can test the same? >> Now I see this warning which seems to be a false positive. >> Boris, could you please apply the following: >> >> diff --git a/drivers/xen/gntdev-dmabuf.c b/drivers/xen/gntdev-dmabuf.c >> index e4c9f1f74476..0680dbcba616 100644 >> --- a/drivers/xen/gntdev-dmabuf.c >> +++ b/drivers/xen/gntdev-dmabuf.c >> @@ -495,6 +495,7 @@ static int dmabuf_exp_from_refs(struct gntdev_priv >> *priv, int flags, >>         args.dmabuf_priv = priv->dmabuf_priv; >>         args.count = map->count; >>         args.pages = map->pages; >> +       args.fd = -1; >> >>         ret = dmabuf_exp_from_pages(&args); >>         if (ret < 0) >> >> or please let me know if you want me to resend with this fix? > > Missed this message. Yes, this obviously fixes the problem. And it is > due to the code fragment that I mentioned in the earlier response. > > Which patch is this for? I can add this when committing. Thank you, this is for "[PATCH v5 7/8] xen/gntdev: Implement dma-buf export functionality" > -boris Thank you, Oleksandr