Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp280244lqs; Thu, 13 Jun 2024 09:48:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVwo4Ccb+3TblooBfc5WNFZAknKItsLAXkKaUjNd0zNIFXqpSE7MrYsHIggfRzJeItNfT/zBK4Rn9R/XKFhGuHZdCHnjnwqEMkUo2Mivw== X-Google-Smtp-Source: AGHT+IFkqHaKrL496O/AEKI9pnBtqkZtaoU7ddmoAH6N8LoCf3bZl2frlogbYRnJBPVjS+3rk2WY X-Received: by 2002:a17:906:1b54:b0:a6f:176e:477b with SMTP id a640c23a62f3a-a6f60de61b5mr17781966b.66.1718297296229; Thu, 13 Jun 2024 09:48:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718297296; cv=pass; d=google.com; s=arc-20160816; b=IZz9aYdTkfhMIszV2yNdmS4WnAObigHWkn9vPUKPqqGflXCwIzQNfO7o/5XJT/jSJh 6Dw1Jg2ZN9VAhVszP3e2YNwR9HbumTUW0YgYrOIk5QCAjB8ywfO3tjQVnPAjVD1RZ1fN OGB8VftT46CB/I2a+/xEFsRZ05R83PuvY2UALzs2U0YoT7Rf42P6Gk5Y1f+LcbkTFHgL vuFKeH/Te3n6uYYSAud3G9PJD8KNqFclYUsxTxuSMOXnyqsHcOlD3aHdnHnaBj6eNQVD IWD7bKryqJIMhz/B4m0QAv0f9xJL24Wp5eAoq6aFlpVrOB2f+MsWcxp/2192GO0PQYjm rN1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=4M3hBVZR81jxs9Edy0y17NJAG22LXsGE9DnDhss53OM=; fh=aiWCgZCdgbIAU7iF8d89RwwNDk7TbWDwur3Y6KpkHhw=; b=g1kQua8w6CPNiaratRc1ED9l50m99RrIyZ3mQcylSPnKr2ji098nGus6iKpdxZzC4G I0FXRwBfaSXQ1/zIS6ZRukCSHX4oFems8Wa9kG79B/tNuuzETAk7EgoUMXUdNJxU1sdX jJVy7h0Bp+IRpigI6eq7rhxkgCai696y8o+ZdJl54CIqBnHF1roFS36g4DsyzyDp/pNo uMU9h4o1ecdNUvS4SnD9nrI3nZEiXvE912CMUhDIimRqC6JjXE6nAirCwLpFnaQq81U5 0b+bZInSFAbfqPF/sk3g7fhQjPWq57G1Bjhs4JHkGJZvktsmCjJrEQyunxfSLj5H4rir d1cA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jFIsMXMs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f56d4d273si85624266b.245.2024.06.13.09.48.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 09:48:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jFIsMXMs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DF78E1F2312A for ; Thu, 13 Jun 2024 16:48:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 408A01487DF; Thu, 13 Jun 2024 16:48:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jFIsMXMs" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6706317FD; Thu, 13 Jun 2024 16:48:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718297285; cv=none; b=LCqjRdkU2uhFmnzsLmbTHLJpCt6DGHyTPQmwVO+S9oGuaS7FFBdyPKTQGgQO5unPZLHbKY4/FghL6qkStCaVEAahS4fUlNGsOav8JQ2Bot4Je6EEIElkjktWQJngj4fWxMOAc65B/UbsAuy0fXCo9kAFaICROaDRlRaHOy2aRYc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718297285; c=relaxed/simple; bh=AJl67d8slnynIjtfzAGyDRCCHUC9dNMUzxCpIOQc+nk=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=a1krORvCl8R6S5SRWxECjs/ytk8bQuN4/LxqJdE9lcdMKGlsQT6batiQ4DDyny/8vgfKy5v5HCPmoypgVRu+IDktzMY5LmEG0dHzi/Wet5kt9fcbaZViIbQy8IGBgJ1iDCKm1HQfA9nEfSg2cMRnWZMzv4w/PWSefDdjX8VRvIw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jFIsMXMs; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33A62C2BBFC; Thu, 13 Jun 2024 16:48:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718297285; bh=AJl67d8slnynIjtfzAGyDRCCHUC9dNMUzxCpIOQc+nk=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=jFIsMXMsqyze/Z8v8/dCBH6z8+PH7v0VhR21enZw/mKLXpd2yA5UKmd9ZI+HmmHOr SlS/6ZqRAW4O9bgxtS7vHQGsxDBZ4oyWpjTK9LGu7MrDOYhmLl6hR9DsJjPxcWbt17 jm7fV9vzwQ/Ht77V8LZikuWrBANBwzKZHiXgA1QnUwafXf9+gZGg2dGIZvdGh572nI 8u3i5uFK3JkwYfaOsmzE8HeUgpZrNXk84jgmjHfzD9cV8Z5vGeDsxWdLkKURfMp3B9 BJaqQV6OtfVwLFHf22SBJKPlh/3Si7zG2rqhnV4WsU8f+zm9AykHp+hDypM+FqhBSC xzI6Zn5PMI42A== From: Lee Jones To: Patrick Gansterer , Dan Carpenter Cc: Daniel Thompson , Jingoo Han , Helge Deller , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org In-Reply-To: <187b5bc5-a010-46c2-8ead-980df9efae79@moroto.mountain> References: <187b5bc5-a010-46c2-8ead-980df9efae79@moroto.mountain> Subject: Re: (subset) [PATCH] backlight: lm3509_bl: Fix NULL vs IS_ERR() check in register() function Message-Id: <171829728292.2711571.6119910061158578189.b4-ty@kernel.org> Date: Thu, 13 Jun 2024 17:48:02 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.13.0 On Thu, 06 Jun 2024 16:10:23 +0300, Dan Carpenter wrote: > The devm_backlight_device_register() doesn't return NULL, it returns > error pointers. Update the error checking to match. > > Applied, thanks! [1/1] backlight: lm3509_bl: Fix NULL vs IS_ERR() check in register() function commit: 90b7f2ead953aab5677ae8235d78841cee8fd13e -- Lee Jones [李琼斯]