From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E51EEC19F2B for ; Mon, 1 Aug 2022 18:02:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9+Hz8niwct5jiGYy0YE6gGYI4KwNPU2mbMup4jRW4nc=; b=gaqVZSPXLl0Jcb 3tMLHdh/0hON3Qa3LKzSYJ/Bu2Vx4kEZwwV6Xn3gfArMiFyxbKwj8IxepITzRqeY+CoJDyWaoD2RU bW7wNRjHnQR/NgcUYpXMnRthNg/Lr02EHSLI7LKlTULuQ6bQ6Vv9Aey5zH131N4kEJ/V/isVbjEaa pQpXClUTsME9CtS7GS/OgjUf7vNCc4Rct9HbHwAS49P5wqGo+KSw2w6z3SGzaq85q5Lq52zCabIF5 zH5rOtFH7u68rB8R55dc/jQPtPf/PsAIUXB57Dc27vudBogEdiBvtnFFw4OvGluox9vyXMy9F2+6L D+MwdUoZwWNmxElRsF5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oIZj8-008W7K-FG; Mon, 01 Aug 2022 18:01:14 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oIZj5-008VxX-67 for linux-arm-kernel@lists.infradead.org; Mon, 01 Aug 2022 18:01:12 +0000 Received: by mail-lj1-x236.google.com with SMTP id h12so13159554ljg.7 for ; Mon, 01 Aug 2022 11:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=uZR/I+yAkBmW0w7mHOk3YtgLxlXC2BKh5JL5UtMmwBs=; b=q+w6TE6z8roa1FS6pRp+tOhYcqoLK1RRU14NW5VdOJfv8hFjDkUklpCbJ0Zl4zmPBn RCi6pAbq34Qsp896AIPfQsEXgp4FmQ9P1asmBO/5jNtq7wXUDfX9UCfCUp3jhB94dxOx bAfL/QhWup7fU2XaCntjtXmyRRdyLfc1J5QqEsljVEOHviQjSxVn6v6KmX9MNtiMfOBW dnz6oXrJCAYm4G2Mnz5cwr+o4qtZcKhtz7JY4LiK5ZTLRkgstfhGCAjZP+43gi7bNxDZ hXwUACWS4Bigbxoz64aX9jfwSxHSRwx7i+EkjPU2ySYW/48LpOqbvlmdZYAvjHNZ2/d8 m36w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=uZR/I+yAkBmW0w7mHOk3YtgLxlXC2BKh5JL5UtMmwBs=; b=7RcB/uBfP3YUL8NknUAr9WbEwlX3fhN6jky9QRB3ExWMrX1tVPut2SXxUASYdnspD7 6vmJ9neFDoWXaDfq6uZxG8Ma58pjGXtYHu9+B/XbxOlPEaWXxyHk9BPUWV3mgiK1g/9v YYvaDHLjKy/KvUX9l4qSzRAsqraWvgyPq76YTg0Qtz0yj505qzFiL3Zz+vZO7qdfjnZz EgiBr/fQXq56mjW8viL10UwkieXg7aIgawbgazMzDwVr/l5uOZgQLdEbLbBCZGsG002q bnBuR50OJdBsDMTRzZawIFh0FPLWXB75/oeUzOOesT2KiG6Ybk/TPBKwql7RHCNNsYb7 u74g== X-Gm-Message-State: AJIora/n4QHflo0dbTSzRw3JLXokVL1LIBUkH2C21pgD+GSq6IZuS339 adU3MzzQdLWNbM4tWEXTdtN6Fg== X-Google-Smtp-Source: AGRyM1s+ieLndbXdmOHTogelfkNm1sPX5Vt3Z6RRXxCaWFy4HZux37fvLIAz14ZPc21Ux3ijqkBQBA== X-Received: by 2002:a2e:934f:0:b0:250:a7bc:2b8f with SMTP id m15-20020a2e934f000000b00250a7bc2b8fmr5464878ljh.512.1659376866299; Mon, 01 Aug 2022 11:01:06 -0700 (PDT) Received: from [192.168.1.6] ([213.161.169.44]) by smtp.gmail.com with ESMTPSA id c15-20020a056512324f00b0048ae7b7b077sm1151293lfr.200.2022.08.01.11.01.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Aug 2022 11:01:05 -0700 (PDT) Message-ID: <57faa0a7-301c-c60c-6831-00a351ed3ea5@linaro.org> Date: Mon, 1 Aug 2022 20:01:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [RESEND 3/4 v7] power: supply: Add charger driver for Rockchip RK817 Content-Language: en-US To: Chris Morgan , kernel test robot Cc: linux-pm@vger.kernel.org, kbuild-all@lists.01.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, zhangqing@rock-chips.com, zyw@rock-chips.com, jon.lin@rock-chips.com, sre@kernel.org, heiko@sntech.de, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, lee.jones@linaro.org, Chris Morgan , Maya Matuszczyk References: <20220721161718.29800-4-macroalpha82@gmail.com> <202207242227.mttUkfTB-lkp@intel.com> <20220729162828.GB102@wintermute.localdomain> From: Krzysztof Kozlowski In-Reply-To: <20220729162828.GB102@wintermute.localdomain> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220801_110111_394663_46109CC9 X-CRM114-Status: GOOD ( 18.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 29/07/2022 18:28, Chris Morgan wrote: > On Sun, Jul 24, 2022 at 10:58:00PM +0800, kernel test robot wrote: >> Hi Chris, >> >> Thank you for the patch! Perhaps something to improve: > > I'm afraid I'm not sure the best way to fix this. The only thing I can > think of is for now the driver should only be for systems with a > Rockchip RK817 PMIC (to my knowledge only ARM based systems from > Rockchip), Why? We want to compile test everything everywhere, > but it looks like the arch was set as parisc. The arch itself does not matter unless the actual warning is specific to it. > Even still, > as long as some of the functions ahead of it don't error out each > of those variables should be used. Is there a way to confirm these > warnings? Just compile and see by yourself. The error should be visible on multiple archs. If not, then use parisc. Ubuntu provides most of cross compilers so it's extra easy to use. The ones not provided by Ubuntu are also here: https://mirrors.edge.kernel.org/pub/tools/crosstool/ Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel