Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1271736rwi; Thu, 27 Oct 2022 13:35:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM66zfmu0UCWM2zKF7C7BSZJwcDl26ALDiFQ75KHyXBSrLZLCzcmxAH0mxnkDEdTRthZDBmX X-Received: by 2002:aa7:c6d9:0:b0:461:b431:9058 with SMTP id b25-20020aa7c6d9000000b00461b4319058mr23156128eds.208.1666902918321; Thu, 27 Oct 2022 13:35:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666902918; cv=none; d=google.com; s=arc-20160816; b=vur653ldQIPFPT66rP5Y5ynwSncfBSUmYX5IiyltQcOn4ZvGS+jGjVijS5oTAu8f2U 6/beUAlmH2ImdoU0N619eIQtfk6AA9fUuIQokEFgskAv6uB0jPGcjtKfkrvSCOQy2ku7 fi50U7c9h663soTSdbLMqSEx7U+5PjJ5xUYQD/zpJ9ZU1vQ4oUogbl03wpwRqHCXxq7x conOBsAhWQvxQ6tKgJE/JX9F1lagFJp/3O+pil9BeXAcds0xA3ph1mcjkIMuUAaUYMuw wPSbdMQX8KIyxvkpTUyBj8EvzzwCBFNSiOqNva8lHcfIBOQjDx0b0ciAHMJ+FV4eLK7V VIFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5uMuhWx6zKgZgX98yBkieWlHaMHV+Yzm9xe0AP8eC/M=; b=Kjgd01VQBmjlFzxp1lLYU/Kpy4H7sNxISoWMMjPjPa8aFIX7Dp38GPSWs+eUrH1Zw3 3cYC0W6VAENutu2XHA8Ij5uKP3xHZxWN9A5nwSjCoUxzU37VYYi0Gzo3Td/yToqiV2mp OvK7clmGoM0xhnkcsS/XRnNmpN+lNfYlBZkNcdzHC9H76z7DheSzrv2D6W3RpT23C57H Vgp8fepU9lD+Rs940nIQQn61FCyHWgy03H+OzYhrYLb3fz4svj7/O2GQpVan8yWpn6z1 oK5NOriF5mCJHGQE6rJ1vFlpRnd0rFHJdbqo5AukRtRNN5C7iFIus8VcK7vi1sqHH8Lu MmKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AB7LEnoE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x15-20020a05640226cf00b00458e43471d5si2727578edd.614.2022.10.27.13.34.52; Thu, 27 Oct 2022 13:35:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AB7LEnoE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234988AbiJ0Tae (ORCPT + 99 others); Thu, 27 Oct 2022 15:30:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236609AbiJ0Tab (ORCPT ); Thu, 27 Oct 2022 15:30:31 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E366938A0B; Thu, 27 Oct 2022 12:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666899030; x=1698435030; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=xFp5AHBEoE8rNzDe/zETFp3RudK9uoaP5P3Wmzrbr0Q=; b=AB7LEnoEg5G1+vetPCd1OO6owIQ4Vq9423ktgkJiUJqqCGvkUVZgMk7h k0zMi2gdWPkA/tWMMSfb6UtUqStA3R2Dl9cUn0/cDnLn1MjuvYBr9twDs cStTSIAva1Ei6Zi1twuqQPzCeCiG3eI4TGJ/woibgmh90ZnTkpcjyIG9m OdWsyNusu2e6yu3v4FZjX/XoTWp9g3C8h1rILoE/Bv1LsjkAcnMBzl0ws OsofcxNooakhSXhIIL1r2svK6t7RCsuRBpHj2rHl10gEJhGDnl6rMFGpN wKKNcqQJEDDTGhNkVE7BWrSKoxUFyq9LLwZXI3q8hcRH2SaRVvqgg6C2e Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10513"; a="394637697" X-IronPort-AV: E=Sophos;i="5.95,218,1661842800"; d="scan'208";a="394637697" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2022 12:30:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10513"; a="695941078" X-IronPort-AV: E=Sophos;i="5.95,218,1661842800"; d="scan'208";a="695941078" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga008.fm.intel.com with ESMTP; 27 Oct 2022 12:30:27 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1oo8aA-003KCy-0E; Thu, 27 Oct 2022 22:30:26 +0300 Date: Thu, 27 Oct 2022 22:30:25 +0300 From: Andy Shevchenko To: Nathan Chancellor Cc: Linus Walleij , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: Re: [PATCH -next] pinctrl: qcom: Include bitfield.h in pinctrl-lpass-lpi.c Message-ID: References: <20221027191625.1738204-1-nathan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221027191625.1738204-1-nathan@kernel.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 27, 2022 at 12:16:25PM -0700, Nathan Chancellor wrote: > When building ARCH=arm allmodconfig, the following error occurs: > > drivers/pinctrl/qcom/pinctrl-lpass-lpi.c: In function ‘lpi_gpio_set_mux’: > drivers/pinctrl/qcom/pinctrl-lpass-lpi.c:102:9: error: implicit declaration of function ‘u32p_replace_bits’ [-Werror=implicit-function-declaration] > 102 | u32p_replace_bits(&val, i, LPI_GPIO_FUNCTION_MASK); > | ^~~~~~~~~~~~~~~~~ > drivers/pinctrl/qcom/pinctrl-lpass-lpi.c: In function ‘lpi_config_get’: > drivers/pinctrl/qcom/pinctrl-lpass-lpi.c:127:16: error: implicit declaration of function ‘FIELD_GET’ [-Werror=implicit-function-declaration] > 127 | pull = FIELD_GET(LPI_GPIO_PULL_MASK, ctl_reg); > | ^~~~~~~~~ > drivers/pinctrl/qcom/pinctrl-lpass-lpi.c: In function ‘lpi_config_set’: > drivers/pinctrl/qcom/pinctrl-lpass-lpi.c:233:23: error: implicit declaration of function ‘u32_encode_bits’ [-Werror=implicit-function-declaration] > 233 | val = u32_encode_bits(value ? 1 : 0, LPI_GPIO_VALUE_OUT_MASK); > | ^~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > > bitfield.h was included via pinctrl-lpass-lpi.h but another change > removed that include to restrict what was being included. Add bitfield.h > back to pinctrl-lpass-lpi.c, as it is needed there. Thanks, https://lore.kernel.org/linux-gpio/20221027184145.2533-1-andriy.shevchenko@linux.intel.com/ -- With Best Regards, Andy Shevchenko