Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp578663pxy; Wed, 21 Apr 2021 09:41:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5YciX0/WCRxTV3mbWF0shVymf+U4Rdze7y1tmrgcwOeoJn8oyeQFq+LhNpaSoiKoCJuAQ X-Received: by 2002:aa7:88c6:0:b029:250:bf78:a4a3 with SMTP id k6-20020aa788c60000b0290250bf78a4a3mr29824394pff.70.1619023307160; Wed, 21 Apr 2021 09:41:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619023307; cv=none; d=google.com; s=arc-20160816; b=KhH2MI58lFV3j3T9eXgt5beB3sf+yJuLxrGLGroiQmW2QRasg6D1KgJ3axDp4BLN25 AYHwOxuFA/38CLaOzJCDdkWl8Id9GwGyFiJjlfSrh7uWtOAGWtO/QaJLy3iHPyLKyzkO aOBStmI+i9ju6N2wg2bUH9uz4/B5nNmfDreWW7ofVWc0TGK26qjyHEpmtB+04HjdPOke 9mcnOlj95Jx+ZmcKYH2Lqxl00xA11nDgbGybpmt11/+GSKC94j89SGZhHj34nRX7YMXd W+YBAuApceKe2CHrWcd7eSLySL/qoTFEZ2URcVL4e6z3AVz84CEuUP8nlX77YkIz+l4k s1yQ== 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=1NxVcuiVxd1D58qjBZbUpl/KIT0aY1s3ixKNh8jDHLY=; b=OlgBtL4QfKQ3Tk64E4WRBUNGviSeA+KHz3Z3V0vV39pySGJHRk8hEgGdeNDa0AnPIr Twb8pfnJ9Hph5Er3zYbmuAIXxJsK2xW6yO/laAHz6lMoJn0ZDeG/oNX1Bs+1OKOARAB7 8eE9aM2OHpg4wgHYaYcoC37tiSQ7BsQPS3/i/gv6BqrHS/yzP/n9j6aVK/SNu/8QRfLp /NgoPZZlW33AaU1MQO4jkpV/Z+Q95AuhRHrS8Ox4Hu1OkBVGsi33GpVB6HmzIFEthNMM wipGmePCIntDO5apSr1Gi3tsc5motG/Ym5fYca4mmdJ7LxO3fXZbjIjs/FYd92awPmWx hj4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dbeV7hJy; 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 h13si107429plr.95.2021.04.21.09.41.35; Wed, 21 Apr 2021 09:41:47 -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=dbeV7hJy; 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 S241560AbhDUNLE (ORCPT + 99 others); Wed, 21 Apr 2021 09:11:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:49136 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241379AbhDUNIR (ORCPT ); Wed, 21 Apr 2021 09:08:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6C59361457; Wed, 21 Apr 2021 13:07:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010460; bh=2xIl6TqYWNQSoir/V0aFZhxTGvsJ0dApCwdCMBj0h10=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dbeV7hJygd5LMBbMyqU7AEKEhawV5/ppP6OyrCiHXR9XJYO0UI880qQ6sUl0+cLSu 06ivjYuycjzVtDDKe9HiwS0APS8Z1wVVqCTeKWZZJuj5R4O51n72m2SkH1DaiqEGaJ EGkjodFL22yuIH7lzx0QsV9x96TxTSBiFFOfdNYM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Kangjie Lu , Alan Stern Subject: [PATCH 109/190] Revert "usb: sierra: fix a missing check of device_create_file" Date: Wed, 21 Apr 2021 14:59:44 +0200 Message-Id: <20210421130105.1226686-110-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210421130105.1226686-1-gregkh@linuxfoundation.org> References: <20210421130105.1226686-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 1a137b47ce6bd4f4b14662d2f5ace913ea7ffbf8. 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 published at 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). 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: Alan Stern Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- drivers/usb/storage/sierra_ms.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/usb/storage/sierra_ms.c b/drivers/usb/storage/sierra_ms.c index b9f78ef3edc3..0f5c9cd8535f 100644 --- a/drivers/usb/storage/sierra_ms.c +++ b/drivers/usb/storage/sierra_ms.c @@ -190,6 +190,8 @@ int sierra_ms_init(struct us_data *us) kfree(swocInfo); } complete: - return device_create_file(&us->pusb_intf->dev, &dev_attr_truinst); + result = device_create_file(&us->pusb_intf->dev, &dev_attr_truinst); + + return 0; } -- 2.31.1