Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1692005rdb; Thu, 7 Dec 2023 06:29:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IEBE9GUJHX7nnkt6s6MG1GrlyCQHaQg4SDHsk6SJZkNpmB60q51cfzz5CvF26MSFHz7NZe1 X-Received: by 2002:a05:6a21:32a2:b0:18b:d2f5:122f with SMTP id yt34-20020a056a2132a200b0018bd2f5122fmr3013863pzb.26.1701959362185; Thu, 07 Dec 2023 06:29:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701959362; cv=none; d=google.com; s=arc-20160816; b=MSPAB4/PgR8IcRQ60eUtBSqg8LXEBTM9NXu5Y2oywk7GwIeMObhSPZ4L69beOM5jot mOv+ZvH3pRMDQ/oA+yew10m3grl/OKvPEHAJvyHOp9T4EZ70BQHpHlHI9HrYWtV8Pl7a d1upFk1iBMC/mzpqxCnJU8SpCW2NXXoHvA4XxyISlFe/Ce61rg+udCfXeUqvf9eQ/eLg dUCUADn8YfbZUR5o0hHW8NpR1uG4AncDVjnNu19ogBeMmEH9j0jfruXu2pE5hFTIGpHw vo/sPq8qEbPK/Yw+Uc8Wk33RaEszVVeEEiaywXnHjIZ22nik2+u+gxGc1t3cDaOfNPvs L40w== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=siQf2yGcuKbINax/017dn/aIzi9vyOaDmow1c81WvIo=; fh=DncK/8B8UdRSFq7Lg3v/a7HCJ64ioeFdYyuxobfZHTg=; b=cL7rMTDgqZAeyLSSREEQBlWUz9L0rasgtJz8WCmG40X5KO3qdevWrObypvq67U84+m oiiePws5L0cLDtBOlUeRnWhHA8Ok3QgvusGu4MqO2079mxm3p0NXwlxJ+o363LSMzOSz VC5seB4UI9E+hgjSCBXiE/a8xMKAIhVj3dKCAvlCAl885r+1h6pVUovjGIpEuMadQuyJ jg5NlNxzfF8adBeomfosCVZgwaAHWWIlwzpd18kOa0499UNMI1NYQmBHUoNHbOw8pno7 EIuigHxcbkb2S7Ajms98wMcYM8fBabz2DCBQULFjphFjpzBp+YMrST/XuWv9NN1Qjc38 AU5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dppiFzHN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id c35-20020a631c23000000b005acf0458523si1236074pgc.612.2023.12.07.06.29.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:29:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dppiFzHN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 7D077802398D; Thu, 7 Dec 2023 06:29:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443107AbjLGO24 (ORCPT + 99 others); Thu, 7 Dec 2023 09:28:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235273AbjLGO2n (ORCPT ); Thu, 7 Dec 2023 09:28:43 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB7E919A for ; Thu, 7 Dec 2023 06:28:48 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-3332ad5b3e3so1007806f8f.2 for ; Thu, 07 Dec 2023 06:28:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701959327; x=1702564127; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=siQf2yGcuKbINax/017dn/aIzi9vyOaDmow1c81WvIo=; b=dppiFzHNRvBHRoMiYi5jk2GzYB6GsoLQTdKJ8dCLkQgVj5pm/StwLPvc/nnYv0d/EL w/CqYxrhNHT45sm5pI0Dm/V897m0gXFbtA5BOW79lq6gbaOprwMMNr+ZpiUlyxBA1epf enfAioD9O8sUIfX93D/6n/laxLPhhvImvznstwJ4f+1iUe4+AuKA4TSAbzLq45CH40mc AFX/k46CP6opKA9vGgt9DiAfkW0B/rfu3o2wffoPa1k9s8cveQczvLfzTv/zQaM3xh9u 4b8Ls4AmS+Ge9WEVnBz+YD2SZ7u3BHCAuzXu9aSoqCrxTNavD5Ol20q4+KgUcbvWRbIt G81g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701959327; x=1702564127; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=siQf2yGcuKbINax/017dn/aIzi9vyOaDmow1c81WvIo=; b=undPFg1ldS51nE4apR6xj5AkAyx3ubr9m7NvDz2VYw7x7Hy1acQenHL+zhUnokr1LZ 9i0uYy2v1bJYUUWePziVLyBrUVne780iM5H2ArKtGADTVqVHIPjRmnXfg3jyMRCfg05B 6hPZaWm9w9My8jAod5IOpMYacIqnoNUaawzMPkNYSJJMzhPihfoQW191eGUTkraC/1+6 HXmHBOfNuytJAMoWV344I0/B7D6+Um39Q7tEMQrtX1hKecuR9SYdZNFDb6QY2cFNA9Ag cvCzC1Su77rgdDkwt8naerHOLQCKW5sU6L87zacpDphQa5oluLrVUb7l/rF1MxjTPQXe RMog== X-Gm-Message-State: AOJu0YzfhHMtWTgaoT9VzfgnpIa4h/dGSz19UsGwPD1oEx30yNmIp4RK CF4whextk3wY9n06bkzVCpPZMA== X-Received: by 2002:a05:600c:a43:b0:40b:5e59:c58c with SMTP id c3-20020a05600c0a4300b0040b5e59c58cmr1686676wmq.182.1701959327359; Thu, 07 Dec 2023 06:28:47 -0800 (PST) Received: from aspen.lan (aztw-34-b2-v4wan-166919-cust780.vm26.cable.virginm.net. [82.37.195.13]) by smtp.gmail.com with ESMTPSA id b16-20020a05600c4e1000b0040c310abc4bsm216659wmq.43.2023.12.07.06.28.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:28:46 -0800 (PST) Date: Thu, 7 Dec 2023 14:28:44 +0000 From: Daniel Thompson To: Su Hui Cc: lee@kernel.org, jingoohan1@gmail.com, deller@gmx.de, nathan@kernel.org, ndesaulniers@google.com, trix@redhat.com, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] backlight: ili922x: add an error code check in ili922x_write Message-ID: <20231207142844.GA151182@aspen.lan> References: <20231130051155.1235972-1-suhui@nfschina.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231130051155.1235972-1-suhui@nfschina.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email 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 (pete.vger.email [0.0.0.0]); Thu, 07 Dec 2023 06:29:19 -0800 (PST) On Thu, Nov 30, 2023 at 01:11:56PM +0800, Su Hui wrote: > Clang static analyzer complains that value stored to 'ret' is never read. > Return the error code when spi_sync() failed. > > Signed-off-by: Su Hui Reviewed-by: Daniel Thompson Daniel.