Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp208218pxu; Fri, 4 Dec 2020 00:59:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyH0GFF/Mb54WBgOsEhSbluQ9gDC3lvKRVcBjODiQuKAXnWVpRugar7zlEBNFOck6JAUYyE X-Received: by 2002:a17:906:2642:: with SMTP id i2mr5935770ejc.493.1607072384463; Fri, 04 Dec 2020 00:59:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607072384; cv=none; d=google.com; s=arc-20160816; b=u6xj0cHdJpOaNg91MB5WuXLVA5JNtmqtmH3xi1vBeWJllegDp7tjaN206tXOhfh+7R MgA2tpJjzw43Xj7kcVgn8QZ0dCPN+/WSjwQtQlbG2/UgikNfLr7BnuQKIgXwQg5mlOdQ fQUTFBuw8XExJ/4VI/1Q7eGX+D4ByZ3qXczQg/XC48N0wyLwu3VUgoBks/4J/JpA1b72 nD0Fb4+PDTbwQ018LU0kMtOS09CFL0xmYgLS7TPf8hLe5DrmpyJb6QInkxa529pfpqoA MFqwBP8PNi+w08bGI8mB3ddnSDV5NtLzbunNTQVv1FSuyAape7Akri4uEDmzJyzE+R71 89ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=w11pISD3ZzCp+PCHo3vHRCO9EBjGTo8P0aXtAJmnTo4=; b=OJiOT2sWF3B8kj44bvOeNWIdqlEObWxcR6BpUhO2YWCW6TDBnDybh8Qd4Hqs2yaqPw E6FcGmKlmrheVSq+qn62V/+WGQPvuSf1Jw00NhOHRIO9RsECN5iqmBljGCDdqY8M1BzS hSqfta/Uj5r2fT7Z89DKfa5LYrRGtczzh1zsexdNtAMufyab5TBgIYC4EbtauIZTMZ2l KOyN3HjP2bxwwRLueeubODTNrS+g3n1rU8Fmo5SaG1A/uHfbfcn3/Frm6YdqYcNAqAzj PM3dxQAELDNcr7DsjXRCXjV1ENOXrMh1Vn9IXTIJzoaGbuqt4BoOtiWfZno9vvdCJDXD f5YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fgfeaSr4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h17si965391ejc.592.2020.12.04.00.59.17; Fri, 04 Dec 2020 00:59:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fgfeaSr4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728966AbgLDIz6 (ORCPT + 99 others); Fri, 4 Dec 2020 03:55:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725866AbgLDIz5 (ORCPT ); Fri, 4 Dec 2020 03:55:57 -0500 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84F6CC061A51 for ; Fri, 4 Dec 2020 00:55:17 -0800 (PST) Received: by mail-lf1-x143.google.com with SMTP id q13so6633057lfr.10 for ; Fri, 04 Dec 2020 00:55:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=w11pISD3ZzCp+PCHo3vHRCO9EBjGTo8P0aXtAJmnTo4=; b=fgfeaSr4dZ0rRbcUlwIHDyO/G44Arb5zXnT+n42ij23Uv6FesC5DuO4rSkJsU62+oK 6bs1UjbBeQGnkJhvJ2pxdyM6wp1POla4qNbmrnNIg07vJhO7J1bJT8Xoq5DV994CwLK9 jxOFbwfPP+CyK9N/ynjjPYb7OmALM4TgS9tUKXWTQUgylIsfwHx4NFaxGO7EOtsZ16wv jCTxlgpWZDiuoKA6rkUwUsiR5Eu7r9I6TSFB27D6RJCRVAXQZr36BNG178rMo1T3obq4 5RpNb4seqeG7O7fzxVxm333qQWqoH7WlGGtziRYgXzrX9s2qsGnD7MabeFqvIt2V1fUF /0GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=w11pISD3ZzCp+PCHo3vHRCO9EBjGTo8P0aXtAJmnTo4=; b=XBcr8sS3mxEK3gLrvYW3GMJiwO7WSmGwNdcN+XkfX4N5Cov2k2l2wEHtdvA9TuYVr6 xPiIFGoSThXgRqcqF2IYDZl7SOZiRnzorbes15mzXdMIOvUon4KTc6dmscZSBB4Za0Ow MXKM7f+LsSialhZNBLBJMcz2A6K0acRNe8Z1mtaYov2o8C+ltmZgIoRoStOLycT59w3I Zmt+11jCTJfP1k+PAELIbOXijX4o192WHKc3eb/kVW41C7aJhm8bIjJUcXTSBtfyU5C7 Wlag3Ar6yFfheWrdlbEhY7sj3x3oRp5iS4uXqNTGgW4PrNfgbE2IqfFJmKnDGDq0bPte ahMQ== X-Gm-Message-State: AOAM53098WGX3/rTtBbPzavbjXJtubVNmZFM+fkPohL4eUNkjApkoTAd du5cogOMM+/oGD8+Ol7hFyof2RfY4YLbYUyT8Ak2Ew== X-Received: by 2002:a19:8d8:: with SMTP id 207mr2748031lfi.441.1607072116080; Fri, 04 Dec 2020 00:55:16 -0800 (PST) MIME-Version: 1.0 References: <1606209423-4742-1-git-send-email-yangtiezhu@loongson.cn> In-Reply-To: <1606209423-4742-1-git-send-email-yangtiezhu@loongson.cn> From: Linus Walleij Date: Fri, 4 Dec 2020 09:55:05 +0100 Message-ID: Subject: Re: [PATCH] pinctrl: at91-pio4: Make PINCTRL_AT91PIO4 depend on HAS_IOMEM to fix build error To: Tiezhu Yang Cc: "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , Xuefeng Li Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 24, 2020 at 10:17 AM Tiezhu Yang wrote: > If CONFIG_HAS_IOMEM is not set, devm_platform_ioremap_resource() will > be not built in drivers/base/platform.c and then there exists a build > error about undefined reference to "devm_platform_ioremap_resource" > in pinctrl-at91-pio4.c under COMPILE_TEST and CONFIG_PINCTRL_AT91PIO4, > make PINCTRL_AT91PIO4 depend on HAS_IOMEM to fix it. > > Reported-by: kernel test robot > Signed-off-by: Tiezhu Yang Patch applied as non-critical fix for v5.11. Yours, Linus Walleij