Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4345747imm; Wed, 30 May 2018 04:02:39 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKihM6r1lJYCRDt6B/rLc7f3qRxkAmdfALqYrdwO5poborakWnsHbIZkoyX0OB6vUtbnpf4 X-Received: by 2002:a63:b008:: with SMTP id h8-v6mr330861pgf.137.1527678159012; Wed, 30 May 2018 04:02:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527678158; cv=none; d=google.com; s=arc-20160816; b=gYc8pre3U9KgpVG0/JfrEjTU891NXEa9xy9uMatUVZq2PBYz4cB9kmJZm5L+Dw3lTP 9VqWf3+kQgb/Jcsft1UwnFZrnmxANxThOs3uZ2ST6oMg/oEGhj8ymiZLmnUBC00OrUAd rjkd6vWa2i8/09FVdUX8C6oH6hAiCZgQ9EAD7sx/FFsfsEKo5iNkaW1XRRTXaMjKhji8 GOVe5tHlpitdxaPNN1CrU98ZZi4nVYl0SWVY2nUm24qDJiztZONHgDIgVFrVF4VKQLuH Rq+CBtHuXwiMM4SwcEw8e5K15EZGvgz/dI2FGA1U5bmKuxIVLH5qBhndoRQ7N8wmlo6k 1w0w== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=gF2zto1489kO5L6SMY6hOhtZHfoCWNnLdOSfwWPSxSA=; b=jEOjguY6EerSI+rrXZQkLqdgU+FbhoO/LiOoJ3deuzvxxAfpcNqVLG3cSLA+EQP8zQ b1U7p+wC/uFiayBoGvNaTkmrufs6mFu1p4Q2y2jFs/pC4ffLzn1F/AAjZefut8S3jHxT icMWcOtmxx5H/7xxgaDTdtl/ENpoQ6Q6mRhkV3AL+WMQ4HU3zhhpa6A+c75fGpCO6nlH JC20liXdTWhaHtegvRSeLBYQbhJoWpHRD4UOCKiooDzBgM0UcZlPAtptuvSGgM/l+GR3 fVqzZ2OriOqxpdKEHDBelmMqex9FsjTYFBb7C8oJrgKTglKT+qfJutezw4oxDDXuOcrq 76Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uUDHxKND; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u5-v6si35041083pfi.96.2018.05.30.04.02.24; Wed, 30 May 2018 04:02:38 -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=@gmail.com header.s=20161025 header.b=uUDHxKND; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752517AbeE3LBj (ORCPT + 99 others); Wed, 30 May 2018 07:01:39 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:50306 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752464AbeE3LBf (ORCPT ); Wed, 30 May 2018 07:01:35 -0400 Received: by mail-wm0-f67.google.com with SMTP id t11-v6so47101132wmt.0; Wed, 30 May 2018 04:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=gF2zto1489kO5L6SMY6hOhtZHfoCWNnLdOSfwWPSxSA=; b=uUDHxKNDsfAXDArZCas7WTQJsqNNUyJKQFkPWfwWMYtqZJvnSM4ruErfAC9T4vKrDK 7uNfu1k0NVV7V6WCAZ0RKyPk+4crXrtFaJusfq5LVmIYXHuRYebQ7UGuSVNqWLmNsTNK KoHN4CWRTSqaaPVN6WPuQWSgtPhD9gMrXrl4pXjHHoTCJUGTETMaz1N1peD45yHbyZXT Oyi93NUJkZZseY4mqjExzHgMbN5IUX071UGgikz2FT90X6jXdf3JqyM1hxSp30w/RN9i Xg5Tu4RAxL5ZNEYw6uoyBnIdhzscc3cNMifT1PNK7+mRpL1JhI9H8n9VM42CE9mPU9TZ wC1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gF2zto1489kO5L6SMY6hOhtZHfoCWNnLdOSfwWPSxSA=; b=AliRbuOp3FTObiux/ohJqdVGQo3GT7nHy/tR7jbS5H+J1DxB3VDwTLU6EFVAhddMs2 J0STW73Oaqhb5bVApO/RM9rB8wxTrZ6D4fklyzXVyNv8s+pcPx0KeNDVF6T0amMzbH+3 1XRdGurVqYMEFNOhl1BWm3gCHhZsMI6i24kgzQaZJTCsvWIpamr3KuRLtmviwetRyasT b9Obf4PvXeHD5RZZDuiWfCU5e1p7J129xHsvORQycseoEgQgmG3SAhO9y5DR3OSE9Fgi F2QltSl2Gpzo4ep+DDXYWN1UqQf1sMbOug6+rhpBLvegEf4OowsqBI6hUZbvrTCi/2G0 KaKw== X-Gm-Message-State: ALKqPwdP5PVFPPv6XUYma3EkhoLs7aSlLCYhwt616q452TaMffVaoJ7s QFYto71qUQqQasuVzrX2kfEkVTWf X-Received: by 2002:a1c:3610:: with SMTP id d16-v6mr1199059wma.126.1527678093764; Wed, 30 May 2018 04:01:33 -0700 (PDT) Received: from [192.168.42.64] (cst-prg-9-157.cust.vodafone.cz. [46.135.9.157]) by smtp.gmail.com with ESMTPSA id m134-v6sm18484521wmg.13.2018.05.30.04.01.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 May 2018 04:01:32 -0700 (PDT) Subject: Re: [PATCH 2/6] mfd: da9063: Replace model with type To: Ye Xiaolong Cc: kbuild test robot , kbuild-all@01.org, linux-kernel@vger.kernel.org, Marek Vasut , Geert Uytterhoeven , Lee Jones , Mark Brown , Steve Twiss , Wolfram Sang , linux-renesas-soc@vger.kernel.org References: <20180523114230.10109-2-marek.vasut+renesas@gmail.com> <201805261713.OJMLXvlB%fengguang.wu@intel.com> <20180530052110.GB27396@yexl-desktop> From: Marek Vasut Message-ID: <7db6e995-70db-8bdf-e425-14c52e2592ea@gmail.com> Date: Wed, 30 May 2018 12:45:55 +0200 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: <20180530052110.GB27396@yexl-desktop> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/30/2018 07:21 AM, Ye Xiaolong wrote: > Hi, Marek > > On 05/26, Marek Vasut wrote: >> On 05/26/2018 11:16 AM, kbuild test robot wrote: >>> Hi Marek, >>> >>> I love your patch! Perhaps something to improve: >>> >>> [auto build test WARNING on ljones-mfd/for-mfd-next] >>> [also build test WARNING on 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/Marek-Vasut/mfd-da9063-Rename-PMIC_DA9063-to-PMIC_CHIP_ID_DA9063/20180526-162613 >>> base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next >>> config: x86_64-randconfig-x002-201820 (attached as .config) >>> compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 >>> reproduce: >>> # save the attached .config to linux build tree >>> make ARCH=x86_64 >>> >>> All warnings (new ones prefixed by >>): >>> >>> In file included from include/linux/kernel.h:10:0, >>> from drivers//regulator/da9063-regulator.c:16: >>> drivers//regulator/da9063-regulator.c: In function 'da9063_regulator_probe': >>> drivers//regulator/da9063-regulator.c:744:12: error: 'const struct da9063_dev_model' has no member named 'dev_model' >>> if (model->dev_model == da9063->type) >>> ^ >>> include/linux/compiler.h:58:30: note: in definition of macro '__trace_if' >>> if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ >>> ^~~~ >>>>> drivers//regulator/da9063-regulator.c:744:3: note: in expansion of macro 'if' >>> if (model->dev_model == da9063->type) >>> ^~ >>> drivers//regulator/da9063-regulator.c:744:12: error: 'const struct da9063_dev_model' has no member named 'dev_model' >>> if (model->dev_model == da9063->type) >>> ^ >>> include/linux/compiler.h:58:42: note: in definition of macro '__trace_if' >>> if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ >>> ^~~~ >>>>> drivers//regulator/da9063-regulator.c:744:3: note: in expansion of macro 'if' >>> if (model->dev_model == da9063->type) >>> ^~ >>> drivers//regulator/da9063-regulator.c:744:12: error: 'const struct da9063_dev_model' has no member named 'dev_model' >>> if (model->dev_model == da9063->type) >>> ^ >>> include/linux/compiler.h:69:16: note: in definition of macro '__trace_if' >>> ______r = !!(cond); \ >>> ^~~~ >>>>> drivers//regulator/da9063-regulator.c:744:3: note: in expansion of macro 'if' >>> if (model->dev_model == da9063->type) >>> ^~ >>> drivers//regulator/da9063-regulator.c:749:10: error: 'struct da9063' has no member named 'model' >>> da9063->model); >>> ^~ >>> >>> vim +/if +744 drivers//regulator/da9063-regulator.c >> >> Is it testing this patch without the other patches in the series or at >> least 1/6 ? > > It was tested with the whole patch series as you can see in https://github.com/0day-ci/linux/commits/Marek-Vasut/mfd-da9063-Rename-PMIC_DA9063-to-PMIC_CHIP_ID_DA9063/20180526-162613. Ha, I see the problem. Thanks for confirming it's checked with the whole series. -- Best regards, Marek Vasut