Received: by 10.223.185.116 with SMTP id b49csp1652505wrg; Sat, 24 Feb 2018 01:08:54 -0800 (PST) X-Google-Smtp-Source: AH8x22720iBJLc3Fk7+ljIF9LE222GEkThVQae75VHr9u1kAEmwh1ozWVU0UZX/aInTrqjsyHrku X-Received: by 10.99.42.9 with SMTP id q9mr3534597pgq.45.1519463334086; Sat, 24 Feb 2018 01:08:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519463334; cv=none; d=google.com; s=arc-20160816; b=L0Mc4JjCAMgZxh06AnY67i5tMdKXPZlkmGSS2Y+f0XPKJswLZTayUS63Mk8SApHiQJ aMbqV5cvJ+KBHC79ksT4uNn1uVcMb8D7wVoCCHSQvs5bqMM8sqtwkvdq2cZQn2dUO/7v Wj+yFRNWZWu6RRCQJtMYo0ovt6aTta10njkoBmAr96vtV6Fgiim2ohk54S55KUnqJdYB DAqLU6/z+g0uMu07xhtCtm4TJ9vZAs0Z/K+brvWDqTxnBAbSV5k2y4ygQdNeqaJpVuom ZXbSAzZqlbFiBVzkLoFkqT+NvmjzX3RHtJesMBqlTQz1o/ZeYY89W9izRVFQXMbYFBHC S3RQ== 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:arc-authentication-results; bh=2iyNhytxyetP0/Cior45fPtmj5s9qqyTYV6YZuN8PRo=; b=nCbw3tfkRHghPqxV2bnAIMNBjGqXc7MwvoYwyuQFZZsxB9aPeANsWrtWKBmfUY+QnG IPY0+nhP//3rllliWRZavPDoSvT7ULY95T65aPDlEW+dIWTJ+mp4DM1FV5xa0EBo1HqL UDswXMyH+xmrNB8w/FXtciCJZSsw5ZC6xD8kBHdreVqEafs7Osud/DgQwNs5L6h1z2aC fqU4VhEvdYkI+ULx4ecKc67q1rgjgeUQn5/paaHuDq424x49MJQX5jJ5/L00FmwlXOsq kBNZq6Sl+FMS8ABjPSFiIw73CmTzz5NJ+/ItQRvgusdTpcsJrqecWCsY7QZLLgURfbio cLsw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n127si2707792pga.171.2018.02.24.01.08.39; Sat, 24 Feb 2018 01:08:54 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751461AbeBXJHo (ORCPT + 99 others); Sat, 24 Feb 2018 04:07:44 -0500 Received: from mga06.intel.com ([134.134.136.31]:48230 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750844AbeBXJHm (ORCPT ); Sat, 24 Feb 2018 04:07:42 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Feb 2018 01:07:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,386,1515484800"; d="scan'208";a="33793995" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga001.jf.intel.com with ESMTP; 24 Feb 2018 01:07:40 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1epVo5-000MiR-3g; Sat, 24 Feb 2018 17:07:49 +0800 Date: Sat, 24 Feb 2018 17:06:47 +0800 From: kbuild test robot To: Or Idgar Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, arnd@arndb.de, ghammer@redhat.com, Or Idgar Subject: Re: [PATCH] drivers/virt: vm_gen_counter: initial driver implementation Message-ID: <201802241726.nuC5WB8Z%fengguang.wu@intel.com> References: <20180222162038.28768-1-idgar@virtualoco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180222162038.28768-1-idgar@virtualoco.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Or, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on char-misc/char-misc-testing] [also build test WARNING on v4.16-rc2 next-20180223] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Or-Idgar/drivers-virt-vm_gen_counter-initial-driver-implementation/20180224-112017 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> drivers/misc/vmgenid.c:35:15: sparse: incorrect type in assignment (different address spaces) @@ expected struct uuid_t @@ got uct uuid_t @@ drivers/misc/vmgenid.c:35:15: expected struct uuid_t drivers/misc/vmgenid.c:35:15: got void >> drivers/misc/vmgenid.c:40:29: sparse: incorrect type in argument 1 (different address spaces) @@ expected void @@ got strvoid @@ drivers/misc/vmgenid.c:40:29: expected void drivers/misc/vmgenid.c:40:29: got struct uuid_t drivers/misc/vmgenid.c:51:15: sparse: incorrect type in assignment (different address spaces) @@ expected struct uuid_t @@ got uct uuid_t @@ drivers/misc/vmgenid.c:51:15: expected struct uuid_t drivers/misc/vmgenid.c:51:15: got void drivers/misc/vmgenid.c:55:29: sparse: incorrect type in argument 1 (different address spaces) @@ expected void @@ got strvoid @@ drivers/misc/vmgenid.c:55:29: expected void drivers/misc/vmgenid.c:55:29: got struct uuid_t vim +35 drivers/misc/vmgenid.c 28 29 static ssize_t generation_id_show(struct device *_d, 30 struct device_attribute *attr, char *buf) 31 { 32 uuid_t *uuidp; 33 ssize_t result; 34 > 35 uuidp = acpi_os_map_iomem(phy_addr, sizeof(uuid_t)); 36 if (!uuidp) 37 return -EFAULT; 38 39 result = sprintf(buf, "%pUl\n", uuidp); > 40 acpi_os_unmap_iomem(uuidp, sizeof(uuid_t)); 41 return result; 42 } 43 static DEVICE_ATTR_RO(generation_id); 44 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation