From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93590C6369E for ; Fri, 13 Nov 2020 15:27:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 56D6022275 for ; Fri, 13 Nov 2020 15:27:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Nl6pczxO" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726827AbgKMP1i (ORCPT ); Fri, 13 Nov 2020 10:27:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:48952 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726457AbgKMP1h (ORCPT ); Fri, 13 Nov 2020 10:27:37 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 043B620691; Fri, 13 Nov 2020 15:27:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605281256; bh=/bzvI3PSf1RkDSZTm2OPFclH/942L9sd3Hb0v1zJtrI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Nl6pczxOVhFOBct+PzCMV9PU84jPFZUalVo90dNEVSL2F4kL1DIYjb4WjpW1bxgpS DoHZhvjRPuwokungp9fmSU7hN3SEwUC61tkg/YE3baSoEgXDA8nr22s46JE0+R5NPD W59VIX6d2oJEulqAmmppCaPysQrUJ+4Fk9VQDKlM= Date: Fri, 13 Nov 2020 16:28:32 +0100 From: Greg KH To: xiakaixu1987@gmail.com Cc: arnd@arndb.de, linux-kernel@vger.kernel.org, Kaixu Xia Subject: Re: [PATCH v2] tracing: remove the useless value assignment in test_create_synth_event Message-ID: References: <1605280878-6612-1-git-send-email-kaixuxia@tencent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1605280878-6612-1-git-send-email-kaixuxia@tencent.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 13, 2020 at 11:21:18PM +0800, xiakaixu1987@gmail.com wrote: > From: Kaixu Xia > > The value of variable ret is overwritten on the delete branch in the > test_create_synth_event() and we care more about the above error than > this delete portion. Remove it. > > Reported-by: Tosk Robot > Signed-off-by: Kaixu Xia > --- > kernel/trace/synth_event_gen_test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) $ ./scripts/get_maintainer.pl kernel/trace/synth_event_gen_test.c Steven Rostedt (maintainer:TRACING) Ingo Molnar (maintainer:TRACING) linux-kernel@vger.kernel.org (open list) You have an odd selection of people you copied on this patch, ensuring thtat the correct people would not see it :(