Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp68134pxy; Wed, 21 Apr 2021 18:46:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztD/HcmvHC57RKd0eVYFQro7Nu5NYzmSSPVuAbj3MrKbHMomKSRZjqz29HsjER2gkAtoum X-Received: by 2002:a17:90a:4e0b:: with SMTP id n11mr1230472pjh.108.1619056012901; Wed, 21 Apr 2021 18:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619056012; cv=none; d=google.com; s=arc-20160816; b=G0UZ3EAvonmGzPtZaoOqKcq9BMnH9HgVKswQrTWx/wsIlbUTlXAiL/cuRBIOmzNPVQ cxSzn6TtpiYkX512x217jZHzC/jA/lY0tIOF05/uPn1GcLmrRMEH5tyLW4N4xDZ6GdTJ FZzqKXdmfN9Gxaykdl23dSaLIq60CkItTbw7hkd4OeUn15aQfdj6OPuBWWtvHszWO7oE mw2l/d9ydhDGpNcGm8s561tbWKBnBU0jNm3wtIAcZur17/7qXtbGrH8KQfujnCT2jPC3 0VWg6pSMdk0fuBgcZgprF/YBCJAWLbtnMDxKiH+ZZ1RNd+q31mQImKrbJnYME+OEWFAv dsgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date; bh=Q/2tEWLI9+35UW2/wOuUCB9vOXRZLDV20aLshZNXPSE=; b=ug0pdP8XvXqTSgi00uO9U7wr95DTIQ2scKNONnxhXxdWgqUot93K2JgxVfOedZAPvO CFVrsY+Npa4dSwxSitLXxoeB5Pjn4gmokrCoagz1M/1PF9O9YXTNGs4H25Mi71HhkA4c eq5RDK8nV1gSahFfYYkGm0zdb6Lk20uTXgSKUN+hsmwLkFLNfLzu2MjVdWpcfX6P6auH Y2YeGelo5pvWqSUYBi3y3im3jh2/aEWzE6YPjCkhGTmPaEU8wx6ifY5qETy1WBm3Trh5 KHvtilMzmMMbl8aa/XOhtQM64Da2QIC0qx7sFLpY5DeJQELNXV8gQ1tOBaW8QHwPY0nB GoAg== ARC-Authentication-Results: i=1; mx.google.com; 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 k1si1419856pgq.470.2021.04.21.18.46.41; Wed, 21 Apr 2021 18:46:52 -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; 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 S242072AbhDUQ2n (ORCPT + 99 others); Wed, 21 Apr 2021 12:28:43 -0400 Received: from mx2.suse.de ([195.135.220.15]:47760 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242194AbhDUQ2m (ORCPT ); Wed, 21 Apr 2021 12:28:42 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id F2694B4C0; Wed, 21 Apr 2021 16:28:07 +0000 (UTC) Date: Wed, 21 Apr 2021 18:28:07 +0200 Message-ID: From: Takashi Iwai To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Kangjie Lu Subject: Re: [PATCH 159/190] Revert "ALSA: gus: add a check of the status of snd_ctl_add" In-Reply-To: <20210421130105.1226686-160-gregkh@linuxfoundation.org> References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-160-gregkh@linuxfoundation.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Apr 2021 15:00:34 +0200, Greg Kroah-Hartman wrote: > > This reverts commit 0f25e000cb4398081748e54f62a902098aa79ec1. > > 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: Takashi Iwai > Signed-off-by: Greg Kroah-Hartman This code change simply adds an error message print out, so it doesn't actually fix anything, per se (although the code change itself is fine). Feel free to revert. thanks, Takashi > --- > sound/isa/gus/gus_main.c | 13 ++----------- > 1 file changed, 2 insertions(+), 11 deletions(-) > > diff --git a/sound/isa/gus/gus_main.c b/sound/isa/gus/gus_main.c > index afc088f0377c..b7518122a10d 100644 > --- a/sound/isa/gus/gus_main.c > +++ b/sound/isa/gus/gus_main.c > @@ -77,17 +77,8 @@ static const struct snd_kcontrol_new snd_gus_joystick_control = { > > static void snd_gus_init_control(struct snd_gus_card *gus) > { > - int ret; > - > - if (!gus->ace_flag) { > - ret = > - snd_ctl_add(gus->card, > - snd_ctl_new1(&snd_gus_joystick_control, > - gus)); > - if (ret) > - snd_printk(KERN_ERR "gus: snd_ctl_add failed: %d\n", > - ret); > - } > + if (!gus->ace_flag) > + snd_ctl_add(gus->card, snd_ctl_new1(&snd_gus_joystick_control, gus)); > } > > /* > -- > 2.31.1 >