Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1388975pxy; Thu, 29 Apr 2021 06:12:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOEcrCp3UnCL997grfAU8+PnFiVdTmh57SLuQBgXzAtOI2uuqAYsyx9+97qZKj3b47W/vy X-Received: by 2002:a17:902:c410:b029:eb:279:f53b with SMTP id k16-20020a170902c410b02900eb0279f53bmr35517166plk.33.1619701943939; Thu, 29 Apr 2021 06:12:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619701943; cv=none; d=google.com; s=arc-20160816; b=lQ+3eXoN2G2GZY6lgBQKo0xQT3xVhZjB4siGrANW8rLyI6yIC+o7gRRgb+O/ho2EmD mmWtd5Lu1k0nLWxHWtqPs02Dtg/ZW+dRLrtlg1xQr61rPtrLgZUccOn8ZX6LlY+enXes ZrBbPG9R3qBgQIKRaaKd1gGpnsf3AdnVTLscbU66HeEWj8MJliPHlApXivN6havWy4mz yccQmKlheH0zFbaczH0tlW3YHso+sHnuGY+ePuGgxeMCTGHpEgB1k+vfM/4SddwCh3Vs fbSuknLc5Mo0ieWD/X9Wtq6pQaP5TXWlJ1688D+bUuUa9Q0VpuoNaMu12hNEB0VxSZc3 HxoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yBZSueCdXF8a7PGRTetAFEppdwgN3fGXMjxHmlavV3U=; b=gZ9n7XZzKl+1ZMwPSytEhdm9atgnc7WXV9jlJAtENFTJX2vhVMMEAqBFIseiviXxmJ fSB857Dy14YHozQrd20uWvrKT9pUOEURpsB1e3i6F+Ffg35qlxQnJ7KNxFewkbWS4Gpa iZfuswQky+QzOPFiuTMt42hBwWTB4Q0L/ophhVO9uR02RUTCXndRO2VfkNEsstqYOJg+ G4PkoO6SdQLvtsXV/06zZE2Ge/IU4/l3Dm6CZiqAd/vIs+jIw4t0Cs0can3U9XM9XFoc 4rPhFqe4HhVQv0P2Wa04A0txdvuDWeqvA/N613CetIDvg6yB8r6t2z9IuWV13ttw+LmP qvEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=imuRzkYe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bg16si4713021pjb.44.2021.04.29.06.12.02; Thu, 29 Apr 2021 06:12:23 -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=pass header.i=@linuxfoundation.org header.s=korg header.b=imuRzkYe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238485AbhD2NJt (ORCPT + 99 others); Thu, 29 Apr 2021 09:09:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:34492 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239049AbhD2NJU (ORCPT ); Thu, 29 Apr 2021 09:09:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E66B861405; Thu, 29 Apr 2021 13:08:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619701713; bh=Kq1pbPFw4lvQZncgqGKNk5Fm20UQ8Gt55ufHzgJ2Kxk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=imuRzkYemenFabKleXf9sTxyLbHqbqWd+hlv7B4gR00kiU6kBrp54jTjlWKfxOpzX g/hP14Hb0u4o8mncl5lznO4+Ks4Yvsdw6tXP4WdnHFO4J1uJd3ROSnmCE+JTReZvf5 OhhOxDZsd+bx2xhP+2oIJmI4BBWnsCyGw3dCtEJc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Kangjie Lu , Jacek Anaszewski Subject: [PATCH 6/7] Revert "leds: lp5523: fix a missing check of return value of lp55xx_read" Date: Thu, 29 Apr 2021 15:08:10 +0200 Message-Id: <20210429130811.3353369-7-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210429130811.3353369-1-gregkh@linuxfoundation.org> References: <20210429130811.3353369-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit 248b57015f35c94d4eae2fdd8c6febf5cd703900. Commits from @umn.edu addresses have been found to be submitted in "bad faith" to try to test the kernel community's ability to review "known malicious" changes. The result of these submissions can be found in a paper submitted to the 42nd IEEE Symposium on Security and Privacy entitled, "Open Source Insecurity: Stealthily Introducing Vulnerabilities via Hypocrite Commits" written by Qiushi Wu (University of Minnesota) and Kangjie Lu (University of Minnesota) but later withdrawn. Because of this, all submissions from this group must be reverted from the kernel tree and will need to be re-reviewed again to determine if they actually are a valid fix. Until that work is complete, remove this change to ensure that no problems are being introduced into the codebase. Cc: Kangjie Lu Cc: Jacek Anaszewski Signed-off-by: Greg Kroah-Hartman --- drivers/leds/leds-lp5523.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/leds/leds-lp5523.c b/drivers/leds/leds-lp5523.c index fc433e63b1dc..5036d7d5f3d4 100644 --- a/drivers/leds/leds-lp5523.c +++ b/drivers/leds/leds-lp5523.c @@ -305,9 +305,7 @@ static int lp5523_init_program_engine(struct lp55xx_chip *chip) /* Let the programs run for couple of ms and check the engine status */ usleep_range(3000, 6000); - ret = lp55xx_read(chip, LP5523_REG_STATUS, &status); - if (ret) - return ret; + lp55xx_read(chip, LP5523_REG_STATUS, &status); status &= LP5523_ENG_STATUS_MASK; if (status != LP5523_ENG_STATUS_MASK) { -- 2.31.1