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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7726AC433EF for ; Fri, 20 May 2022 12:42:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243190AbiETMmA (ORCPT ); Fri, 20 May 2022 08:42:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349390AbiETMle (ORCPT ); Fri, 20 May 2022 08:41:34 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DCCB11901A for ; Fri, 20 May 2022 05:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653050491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=N22RTNjNiOoeCyukDfey1BC2Fv6UeTKWJCGnb5nPt1Y=; b=RnFgmktNfs1V+PGGMHKQIdoNZ92v7Z7ah1l5JqtuuwXyj5w3Xhres4hOFMf3/znPS7yOQq gDLpC5z66tsipTmAnD76lFfP872sh0Z0ecFFB+WQMwW4ALtNDwVOUtgAyCS4NjsbGb5pDM jNngtsDRZ//4nkBcFO7ghiboOqHd/4E= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-201-KphpiQiNPXSVG0ro4fr9xw-1; Fri, 20 May 2022 08:41:27 -0400 X-MC-Unique: KphpiQiNPXSVG0ro4fr9xw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1DECE3C138BE; Fri, 20 May 2022 12:41:27 +0000 (UTC) Received: from [172.16.176.1] (ovpn-64-66.rdu2.redhat.com [10.10.64.66]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C62AB1121319; Fri, 20 May 2022 12:41:26 +0000 (UTC) From: "Benjamin Coddington" To: "Javier Abrego Lorente" Cc: trond.myklebust@hammerspace.com, anna@kernel.org, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] nfs: removed goto statement Date: Fri, 20 May 2022 08:41:26 -0400 Message-ID: In-Reply-To: References: <20220520115714.47321-1-javier.abrego.lorente@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20 May 2022, at 8:00, Javier Abrego Lorente wrote: > final version, I promise. Javier, please read "7) Centralized exiting of functions" in Documentation/process/coding-style.rst. The maintainers are unlikely to take this patch because it doesn't (my opinion) improve the readability, and removing a goto isn't a valid reason on its own. The use of goto is an acceptable practice in the linux kernel for some patterns. Ben