Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5204581rdb; Wed, 13 Dec 2023 01:50:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IG4v2IhDQPIAGPNm9JcGRAZ92HqLefxGuX9P4OnsNZ6Z+21LfAIRoIOx/tyQUqf54QlvVgB X-Received: by 2002:a05:6a00:cd3:b0:6ce:2e39:97d5 with SMTP id b19-20020a056a000cd300b006ce2e3997d5mr10000850pfv.38.1702461044475; Wed, 13 Dec 2023 01:50:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702461044; cv=none; d=google.com; s=arc-20160816; b=jDO9pB5hwOITyLzBIFmGVyWcL1rsZocAnH6i7cUvNeEXpoIaR+XLQzbCNyFtdbqOvM Fkm7xWCQBZ/8Oc4m+1Q8hvRBae/OxJMjq1g2X26mxokDpY/fCPyJzM0TW8Z0ubWNw6hO eoGzN7H1Xn3oh4TTtBmi1UEG9G3uoG8qyIazyUdvSaOCVqWedF8DWYuKQb+vghOyjMaK WFey5Hi+GWLurBBB+iU2JZ+QfebrRVBcrgZLwlX1EnLQcOPRyJ5mYEz+H7HZi/0iEI2Q GiurW7LvQ0T2jR+FXdeP+1oBROkUCudAOorG4UXv69Bqp27EjRM6sENv+nm31uw8nJ7D Xbuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=1d5lTjfGL0cpfRX3W23YaewhbKiq0LrOed7Lf2Vov2M=; fh=jR+xRGsvm7kio5AsCCkkAbN5pg2bNsdmV84EbQ9KIfM=; b=tiWrJ0JOg7hMPIuKV1J855pR/9LYGcsFFsFQ4lHj/4G8uwm8DbPSODI6vLsAXQU/It FWbdF5YQncPatiyEy0kgKMk2qpKDWE7OUOKdhHjnABKyb1WkbWCtIWDPi7co5IdDQj2Q sLQ9ulJvvKxF/FpY194YjS3S/pt7PdKjAm1wj9z6X3qHVHXwSdlTw0sBmIp4S1M8BYD5 F1Z1i59yZ+uOYDGwGnZYkU167mbzqnLeKL8WK/XZi05bq90fHsxzQzJkb8YVJb0Gxus5 /aBpdSLqQ7JWYKux1+F/NylKM3+zCvGjWATsZKRj1Q+s221yer4gpfdWLiFDkhYnPi/r 4t0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EDXvrrRC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id t4-20020a656084000000b005c21d7d1114si9217163pgu.818.2023.12.13.01.50.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 01:50:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EDXvrrRC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 56F2080BC528; Wed, 13 Dec 2023 01:50:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233285AbjLMJu3 (ORCPT + 99 others); Wed, 13 Dec 2023 04:50:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233227AbjLMJu1 (ORCPT ); Wed, 13 Dec 2023 04:50:27 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC8B983 for ; Wed, 13 Dec 2023 01:50:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702461033; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1d5lTjfGL0cpfRX3W23YaewhbKiq0LrOed7Lf2Vov2M=; b=EDXvrrRCMzgrdfhJtO9gQUE60R9yabukJrwoxhLkHZInc8qri5EVZSeLQ1MeWuBH4R/U1M nnARHN4vvw+9paC4yTwTitd2cEejjOEtbvkmLho86hGhE0wm0NAi0VgREXAfs7Lpaki5Jn uCk5EraUlaLCjkXejJEsD3yoyIXu3Eg= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-26-41hJxbEGNSqooWzKl0ulPQ-1; Wed, 13 Dec 2023 04:50:31 -0500 X-MC-Unique: 41hJxbEGNSqooWzKl0ulPQ-1 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-40c1e05ad32so49789115e9.0 for ; Wed, 13 Dec 2023 01:50:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702461030; x=1703065830; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1d5lTjfGL0cpfRX3W23YaewhbKiq0LrOed7Lf2Vov2M=; b=dAGMUQv2h9RvXrJRQi9+M/jvenYZwItZZa/7J3gcManT8ax90ujLvtCGlMWNaLyT+9 FAQl4IPx5AjK0Zrcfb5vwIpZsrATpOwV6jL9Lw1NR7/hKCuCZPG0lTEYjcZLB1KcRTBW AwRQPl90SPx4iJIIWSFZnC2yUInKE23vfZ+/ge5Itpavy8AYO5XART/tUJigGWrQn6Jx Z2YAUZxaX4y990OCr2n3YHRFBjVDEEO8VPtUxnQJhhtZHWdb2G6UifxzA8jS+BGCDVC5 pP7852Z0FfAT/AjtnERm4OlgwxEOFHeBltYhQ/2CFTNMCrAngHsUgVOQUoS2VobJ/jCG Y7ag== X-Gm-Message-State: AOJu0Yy/b4N0JljrN9TkXVJMUwc4xy96i9oYmmOUnP2pdOMSlTwLgfaB 9rvnTOAsp2h+oDb6NfXE5qDB6h3N6LMcZMBWftCTwnGIShNMKpJJKGyVhTDmiqovs+8ffgnEmui 54uWIRflg36GhIwdP7xgS41qu X-Received: by 2002:a7b:c395:0:b0:40c:3244:fec4 with SMTP id s21-20020a7bc395000000b0040c3244fec4mr3483370wmj.218.1702461030256; Wed, 13 Dec 2023 01:50:30 -0800 (PST) X-Received: by 2002:a7b:c395:0:b0:40c:3244:fec4 with SMTP id s21-20020a7bc395000000b0040c3244fec4mr3483358wmj.218.1702461029873; Wed, 13 Dec 2023 01:50:29 -0800 (PST) Received: from localhost ([84.78.248.162]) by smtp.gmail.com with ESMTPSA id l4-20020a05600012c400b003334041c3edsm12872969wrx.41.2023.12.13.01.50.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 01:50:29 -0800 (PST) From: Javier Martinez Canillas To: Brian Masney , hdegoede@redhat.com, deller@gmx.de Cc: linux-fbdev@vger.kernel.org, treding@nvidia.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH] fbdev/simplefb: change loglevel when the power domains cannot be parsed In-Reply-To: <20231212195754.232303-1-bmasney@redhat.com> References: <20231212195754.232303-1-bmasney@redhat.com> Date: Wed, 13 Dec 2023 10:50:28 +0100 Message-ID: <875y12o2hn.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 13 Dec 2023 01:50:43 -0800 (PST) Brian Masney writes: Hello Brian, > When the power domains cannot be parsed, the message is incorrectly > logged as an info message. Let's change this to an error since an error > is returned. > > Fixes: 92a511a568e4 ("fbdev/simplefb: Add support for generic power-domains") > Signed-off-by: Brian Masney > --- > drivers/video/fbdev/simplefb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/video/fbdev/simplefb.c b/drivers/video/fbdev/simplefb.c > index 6f58ee276ad1..028a56525047 100644 > --- a/drivers/video/fbdev/simplefb.c > +++ b/drivers/video/fbdev/simplefb.c > @@ -470,7 +470,7 @@ static int simplefb_attach_genpds(struct simplefb_par *par, > if (err == -ENOENT) > return 0; > > - dev_info(dev, "failed to parse power-domains: %d\n", err); > + dev_err(dev, "failed to parse power-domains: %d\n", err); > return err; > } > Makes sense to me. Acked-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat