Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2795827pxb; Tue, 21 Sep 2021 07:52:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLko4j+zEh8fQZGnBrV92H8rxlzfSrUXXV6vLsRDmmKQiAJnqshPfPjiaT8ob891j5Sfyo X-Received: by 2002:a05:6e02:1d0c:: with SMTP id i12mr22644280ila.209.1632235926526; Tue, 21 Sep 2021 07:52:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632235926; cv=none; d=google.com; s=arc-20160816; b=TuRqx5kpWqFjRhiTKSWuL/CdwzbuWIKB2jOl0YZvApZH8SymLKYzLZkkqz2B7RRn2f Z1xrgLBPBJlr5W6D3FnrPsRE3LjsD+4HNjmYS4ue+PdJDhcHXG3gYr4BvHiWvdd/Nt34 rkHaYskOAGD4uInRtFjkZf6Q+W7As9LdYGfNYeJnFPhvqSqO8vG87vz7lWByKFfcWrUa HQ0uI+s5X7n34VBG9uL3q4HGRfrMnDb/QBRU3H/jfRo0jQ5feiWr49oZ9sM2X0EOHcd+ 6a75XoMcPp05jnqk0AxZ97LNE/nYd1xnh1eo7jHwX9TkPSxS46O1K36TW0gySIGn9kqy vt3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:date; bh=HVjDwY3TCzwDBv32KPIGLsUQZWFrfWErmGlbPLXnjeo=; b=0zy+yb6yXkGtgOGvMcBmUEzH/hdxvSZ4UGT12oPf+/hlpDfebScM9Fc7sFgz6dMf3k w4FjerJPrXMGTdzUhW4kb2d1LVWdBHrQkoaH8xDseiovA+wJ1+CWziCkRpBcbfxsOuuK ueSJbvZAqctrWJWzW2LXYxHtJxXcB+0bFdk13rqtp5rEZ/bMPA3HR5E9AiK4GYEfNFEB yObdlnEAbr7neilOdGOM3VFHC5xybccIzp15vdVzrKvDn6j2netUzT3MMzesc/Dnyqq3 deQoD3sEXJlqu1Wz94fX7G68rZDswC0kMS35rCZgkTEP/ysKed8IVY5dE/qYa2YhQhzQ DzMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=lI661zFU; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 138si856366iob.37.2021.09.21.07.51.54; Tue, 21 Sep 2021 07:52:06 -0700 (PDT) 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=fail header.i=@weissschuh.net header.s=mail header.b=lI661zFU; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233765AbhIUOvk (ORCPT + 99 others); Tue, 21 Sep 2021 10:51:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233747AbhIUOvi (ORCPT ); Tue, 21 Sep 2021 10:51:38 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8CE0C061574; Tue, 21 Sep 2021 07:50:09 -0700 (PDT) Date: Tue, 21 Sep 2021 16:50:06 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1632235807; bh=HVjDwY3TCzwDBv32KPIGLsUQZWFrfWErmGlbPLXnjeo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lI661zFUSBSuibdyMJanQmYB+xU6QJzPb2CWZUzlHjMwPUdQxw7FRTWp32l/sK9sD sLAyANhiH1BNw7iKrs15lH3mn+f5AmHL3FGc07a3i461k9/lhD0jHTTMzebK2Hje36 AdCR+HCtoeeEMRFKYSLKotEbHGtp+Zq7aTAaZeC0= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Lee Jones , Daniel Thompson , Jingoo Han , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] backlight: propagate errors from get_brightness() Message-ID: References: <20210907124751.6404-1-linux@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210907124751.6404-1-linux@weissschuh.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-09-07T14:47+0200, Thomas Weißschuh wrote: > backlight.h documents "struct backlight_ops->get_brightness()" to return > a negative errno on failure. > So far these errors have not been handled in the backlight core. > This leads to negative values being exposed through sysfs although only > positive values are documented to be reported. > [..] Friendly ping.