Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp100707imm; Tue, 14 Aug 2018 14:55:37 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyEbEo0zTLNrRqlRh5XzcMiiwWfvIQvrGe8j0ddJRzemkHEWPSRI7xzU1hgxbSV/9zUFWNw X-Received: by 2002:a17:902:7b83:: with SMTP id w3-v6mr21742187pll.192.1534283737701; Tue, 14 Aug 2018 14:55:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534283737; cv=none; d=google.com; s=arc-20160816; b=XnsQZ3XXoJVN5r+zzsc5UMXdrDYfAq9zRzqSkfiu/3o914R7DoTJ9bcAnfi9XS9oD2 Trgx+c24jaTOoWWwIjNVyuon7MMBwVPtbIhtZJ25zfGYN7bkxiIKiiMRIgOBFfVd3inX Vm8UgSE2J8zudO231xlempuLkqMD7k+WOaNUT5JEllJUdMNNbCzVmF+bay6v41d8uCjd sH5GqljFwy8G6tufqgcYvV35t80Ed2KFDndnfRxGDO0Ng83BjYbEMbfpTFmM3DODG4/v jDDR1xkCQ+9/uE5eAS9dd/52rSyk2K14CBHHriIMAANXj8mffhUSnNl9RP8lBwqivFA1 UFfQ== 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=zOiSwqVQrrLRLAg7P61i0yhWMly/EvujE+l04WxgOO8=; b=RtY8B5PAJRQqlREpOVa++EMzFQXkpNfFXIJpJlUS+3RatrdzR/jEMaY2oaXThV6DVu 6148q5sL0KQpsjGnM1TQ73rz7erePJC7rRW+eKh1sPw3qBSLKThn/2yjNhgULtkQtWxg UqXTXYFpOQsHBqXG2/CdOCWmFud29OFoDRkuErttzi9zQxjWFicdCX9TC8TcAjxe0JSw WNQ7k6rX/sdeAEbO24QqVC6GjPsl/qhNl+ts7B4/VUF5joPnYmNNnCgF3Rq+q7uKANDF 1TBIOl2DIAWWChYvqWmOjlJvuBMbunasp93Jh4R9f8RJmhWnE/mkbqAcupXl+zNwadI8 QLWQ== 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; 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 h65-v6si20231178pfg.197.2018.08.14.14.55.22; Tue, 14 Aug 2018 14:55:37 -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; 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 S1730881AbeHOAnM (ORCPT + 99 others); Tue, 14 Aug 2018 20:43:12 -0400 Received: from mga03.intel.com ([134.134.136.65]:64018 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728315AbeHOAnL (ORCPT ); Tue, 14 Aug 2018 20:43:11 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Aug 2018 14:54:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,240,1531810800"; d="scan'208";a="63194794" Received: from bee.sh.intel.com (HELO lkp-server01) ([10.239.97.14]) by fmsmga008.fm.intel.com with ESMTP; 14 Aug 2018 14:53:58 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1fphG4-000Hyh-G0; Wed, 15 Aug 2018 05:53:44 +0800 Date: Wed, 15 Aug 2018 05:53:12 +0800 From: kbuild test robot To: Hannes Reinecke Cc: kbuild-all@01.org, Jens Axboe , Christoph Hellwig , Sagi Grimberg , Keith Busch , Bart van Assche , linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, Linux Kernel Mailinglist , Hannes Reinecke , Hannes Reinecke Subject: Re: [PATCH 2/5] nvme: register ns_id attributes as default sysfs groups Message-ID: <201808150550.wKf5lVlA%fengguang.wu@intel.com> References: <20180814073305.87255-3-hare@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180814073305.87255-3-hare@suse.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hannes, I love your patch! Perhaps something to improve: [auto build test WARNING on block/for-next] [also build test WARNING on next-20180814] [cannot apply to v4.18] [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/Hannes-Reinecke/genhd-register-default-groups-with-device_add_disk/20180815-034942 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) include/uapi/linux/perf_event.h:147:56: sparse: cast truncates bits from constant value (8000000000000000 becomes 0) drivers/nvme/host/core.c:506:28: sparse: expression using sizeof(void) include/linux/blkdev.h:1269:16: sparse: expression using sizeof(void) include/linux/slab.h:631:13: sparse: undefined identifier '__builtin_mul_overflow' drivers/nvme/host/core.c:1062:32: sparse: expression using sizeof(void) drivers/nvme/host/core.c:1062:32: sparse: expression using sizeof(void) drivers/nvme/host/core.c:1063:26: sparse: expression using sizeof(void) drivers/nvme/host/core.c:1063:26: sparse: expression using sizeof(void) drivers/nvme/host/core.c:1844:32: sparse: expression using sizeof(void) drivers/nvme/host/core.c:1844:32: sparse: expression using sizeof(void) drivers/nvme/host/core.c:1846:43: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2406:17: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2406:17: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2417:42: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2417:42: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2417:42: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2417:42: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2417:42: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2417:42: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2417:42: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2417:42: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2417:42: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2417:42: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2417:42: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2417:42: sparse: expression using sizeof(void) drivers/nvme/host/core.c:2417:42: sparse: expression using sizeof(void) >> drivers/nvme/host/core.c:2732:30: sparse: symbol 'nvme_ns_id_attr_group' was not declared. Should it be static? drivers/nvme/host/core.c:3203:33: sparse: expression using sizeof(void) drivers/nvme/host/core.c:3566:17: sparse: expression using sizeof(void) include/linux/slab.h:631:13: sparse: call with no type! drivers/nvme/host/core.c:1264:23: sparse: context imbalance in 'nvme_get_ns_from_disk' - wrong count at exit drivers/nvme/host/core.c:1282:33: sparse: context imbalance in 'nvme_put_ns_from_disk' - unexpected unlock Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation