Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp897356imm; Fri, 15 Jun 2018 07:59:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK2TbixeJt6Z0X93oS3HkeL4iyf9qR9Awp/+Tl7GhVCvlzrkTfmVoKlyQRPNrpEMp60aj3y X-Received: by 2002:a62:f0d:: with SMTP id x13-v6mr2361378pfi.100.1529074783135; Fri, 15 Jun 2018 07:59:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529074783; cv=none; d=google.com; s=arc-20160816; b=yCY+dpTNK0pPdt+/07rZaOXnaaAW4Y0ObfD6jOp6PCVu0PTHEetjeKBsGh5Jo4q0mT D/AKHJN8m0q141UvkgRA/O9fTkXxjKE6A3MBFOcrD6NeeIU6kpjs9C1uIHTshzAiegQY NBy06QRE4Ks9sOhVSfPvbWgmQw4Vd6s7Th1woOoDCdIsM9ZowU0ENADuEHOnnGP7l/dX 9OcuP2E7gS4YeW3iS+HCK5caH+NjTqMxRyla+Eb+bqBKFCRMHIg8iuOkmDa20DWRAsc4 tatJLizfVOoLCHAdiFlaWE+a6R4bYp4NsvdcQEYlGWuJhNkyTaD+PTL+a/aEsViV0sJ4 bnPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=70sak+B5kFp4P0d1k4BwKum2hZ21eiV5KfcZkfM7e7c=; b=RaqaiL5ILQP8hDTpSW0OSbnIDMLMo5T5hYLdcBpup6nHXSMJ5oneypIwAKsyFy0cl1 yjzupDB5/PJzNQzFfvq+IX8e1maQuaLgr44fHgjcvXTtKxU5EJhSx/TY4Q9rDUUJ6n/E rbMcbNO+prarw8lZXlQQlg21RcwX+DHj1dNQPx7MXzVlGDOqdY9aFH84JsuBioI5+a1W JSZsqbvZDYeWsDN3dqVC7FQ0qLhD8woUVuOs4XLPQBiQsRorI7p0HusDC6rE9YHw9Zkv hN3et3VL+JjWu1Y8bL6V0i08crHhZo4JN1rfh9zcIPZFC7h0o1EsPwUDm6O2RrjJNNaK QLbA== 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 b19-v6si6730113pge.666.2018.06.15.07.59.27; Fri, 15 Jun 2018 07:59:43 -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 S936200AbeFOO7E (ORCPT + 99 others); Fri, 15 Jun 2018 10:59:04 -0400 Received: from mga14.intel.com ([192.55.52.115]:14726 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752798AbeFOO7C (ORCPT ); Fri, 15 Jun 2018 10:59:02 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jun 2018 07:59:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,227,1526367600"; d="scan'208";a="57620504" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by FMSMGA003.fm.intel.com with ESMTP; 15 Jun 2018 07:58:58 -0700 Message-ID: Subject: Re: [PATCH v2 1/5] md: Avoid namespace collision with bitmap API From: Andy Shevchenko To: kbuild test robot Cc: kbuild-all@01.org, Alasdair Kergon , Mike Snitzer , dm-devel@redhat.com, Shaohua Li , linux-raid@vger.kernel.org, Dmitry Torokhov , linux-input@vger.kernel.org, Andrew Morton , Yury Norov , linux-kernel@vger.kernel.org, mika.westerberg@linux.intel.com Date: Fri, 15 Jun 2018 17:58:57 +0300 In-Reply-To: <201806152251.xRJyWhS2%fengguang.wu@intel.com> References: <20180615132017.23889-2-andriy.shevchenko@linux.intel.com> <201806152251.xRJyWhS2%fengguang.wu@intel.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-06-15 at 23:09 +0800, kbuild test robot wrote: > Hi Andy, > > I love your patch! Yet something to improve: Thanks! I fixed that locally (definitely that module wasn't compiled by default). Though I would wait to gather more comments before sending v3. > > [auto build test ERROR on next-20180615] > [also build test ERROR on v4.17] > [cannot apply to md/for-next linus/master dm/for-next v4.17 v4.17-rc7 > v4.17-rc6] > [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/Andy-Shevchenko/bitma > p-Introduce-alloc-free-helpers/20180615-214724 > config: i386-randconfig-b0-06141412 (attached as .config) > compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 > reproduce: > # save the attached .config to linux build tree > make ARCH=i386 > > All errors (new ones prefixed by >>): > > > > drivers/md/persistent-data/dm-space-map-common.c:111:23: error: > > > 'bitmap_prepare_for_write' undeclared here (not in a function) > > .prepare_for_write = bitmap_prepare_for_write, > ^ > > > drivers/md/persistent-data/dm-space-map-common.c:112:11: error: > > > 'bitmap_check' undeclared here (not in a function) > > .check = bitmap_check > ^ > drivers/md/persistent-data/dm-space-map-common.c:72:13: warning: > 'md_bitmap_prepare_for_write' defined but not used [-Wunused-function] > static void md_bitmap_prepare_for_write(struct dm_block_validator > *v, > ^ > drivers/md/persistent-data/dm-space-map-common.c:84:12: warning: > 'md_bitmap_check' defined but not used [-Wunused-function] > static int md_bitmap_check(struct dm_block_validator *v, > ^ > > vim +/bitmap_prepare_for_write +111 drivers/md/persistent-data/dm- > space-map-common.c > > 3241b1d3 Joe Thornber 2011-10-31 108 > 3241b1d3 Joe Thornber 2011-10-31 109 static struct > dm_block_validator dm_sm_bitmap_validator = { > 3241b1d3 Joe Thornber 2011-10-31 110 .name = "sm_bitmap", > 3241b1d3 Joe Thornber 2011-10-31 @111 .prepare_for_write = > bitmap_prepare_for_write, > 3241b1d3 Joe Thornber 2011-10-31 @112 .check = bitmap_check > 3241b1d3 Joe Thornber 2011-10-31 113 }; > 3241b1d3 Joe Thornber 2011-10-31 114 > > :::::: The code at line 111 was first introduced by commit > :::::: 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 dm: add persistent > data library > > :::::: TO: Joe Thornber > :::::: CC: Alasdair G Kergon > > --- > 0-DAY kernel test infrastructure Open Source Technology > Center > https://lists.01.org/pipermail/kbuild-all Intel > Corporation -- Andy Shevchenko Intel Finland Oy