Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1451774ybk; Sun, 10 May 2020 17:32:53 -0700 (PDT) X-Google-Smtp-Source: APiQypJWp3u3i3Z/eE3zho9giPIWYBOlGNne4HDPGj3lc75i2DkJXnUB7a2cIR9zx/ypDxSWYtI7 X-Received: by 2002:a17:906:390a:: with SMTP id f10mr10917306eje.74.1589157173611; Sun, 10 May 2020 17:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589157173; cv=none; d=google.com; s=arc-20160816; b=BXbEA/4acUzqnoodXy6wlkMVJu6rKfdEHQgNW8K86Ky2zZ6VusBNYA7UyA3LrGDoIw f4VtDRwtSSRMtV1n2UB4RR+D6cQA5++22CVw0fM9HC9Dky+EXM06TPC+6u/1/5d8nRJD 0EcawrfLaoBygHsD4jqkWuhMo16uwzIfA157UjXLe5glgu3y0jrExJI0GbAtH+H3u7Z9 c2GDJwtEPu5OcXOALrKXcQ2FVoNpsnuFWn3BmO4mt1srhhDsPHbRaf18Q1mFWKKzLUJN /8xv+4xZ+MHhuAFGQ8/fZIz9Sj3UuCdVeHYjp4797/hSWSOH8EE9gMyWcaqMbyVnL7cZ HuPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-id:mime-version:references :message-id:in-reply-to:subject:cc:to:from:date; bh=4L1Ofeq4n/W3UqL0MUabar/NM7bxxN4GiJxrQvV1tXk=; b=Q76qqIIuwtXDLX2cpNLurIHe/16iW8suwyNYI+4dsrljd4MuNCIiASdlmRf2cySfi6 G0QQHLSHmZckj+A16cgeUobwGncXu0ejah3IzkEwvxB1Olt2E0YtNuqtkXJ5R1/n7Up6 hSrvQ+bdd0tEvajH+dZOoaj8OFrNR5J3QQr4tmEMo7unpa/Q8aJSYeTeH9hRtapsszYh DqWB4mcBeEcukd36CKimZqv4B2lg0Lqsg/L4DLwNPW76BNiXnfXpJKaubGiAaH873/M1 xxqB2vX8bU/np/Cwzw58XPBIOe+UCAxQOKdsVq3HuIcimbcDYSQiGuTNzbQUJ+n85D22 n+Wg== 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 op2si5024971ejb.395.2020.05.10.17.32.30; Sun, 10 May 2020 17:32:53 -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 S1729313AbgEKA2c (ORCPT + 99 others); Sun, 10 May 2020 20:28:32 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:38942 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729168AbgEKA2c (ORCPT ); Sun, 10 May 2020 20:28:32 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id AAECC299CB; Sun, 10 May 2020 20:28:27 -0400 (EDT) Date: Mon, 11 May 2020 10:28:34 +1000 (AEST) From: Finn Thain To: Markus Elfring cc: Christophe Jaillet , netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , Jakub Kicinski Subject: Re: net/sonic: Fix some resource leaks in error handling paths In-Reply-To: Message-ID: References: <9d279f21-6172-5318-4e29-061277e82157@web.de> MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="-1463811774-1651048744-1589151508=:8" Content-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811774-1651048744-1589151508=:8 Content-Type: text/plain; CHARSET=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: On Sun, 10 May 2020, Markus Elfring wrote: > > > > Do you know when these bugs were introduced? >=20 > I suggest to take another look at a provided tag =E2=80=9CFixes=E2=80=9D. If you can't determine when the bug was introduced, how can you criticise= =20 a patch for the lack of a Fixes tag? > To which commit would you like to refer to for the proposed adjustment=20 > of the function =E2=80=9Cmac_sonic_platform_probe=E2=80=9D? >=20 That was my question to you. We seem to be talking past each other.=20 Unforunately I only speak English, so if this misunderstanding is to be=20 resolved, you're going to have to try harder to make yourself understood. > > Naming goto labels is just painting another bikeshed. Yes, some=20 > > alternatives are preferable but it takes too long to identify them and= =20 > > finding consensus is unlikely anyway, as it's a matter of taste. >=20 > Would you find numbered labels unwanted according to a possible=20 > interpretation related to 'GW-BASIC' identifier selection? > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/D= ocumentation/process/coding-style.rst?id=3De99332e7b4cda6e60f5b5916cf9943a7= 9dbef902#n460 >=20 My preference is unimportant here. Therefore, your question must be=20 rhetorical. I presume that you mean to assert that Christophe's patch=20 breaches the style guide. However, 'sonic_probe1' is the name of a function. The name of the goto=20 label 'undo_probe1' reflects the name of the function. This is not some sequence of GW-BASIC labels referred to in the style=20 guide. And neither does the patch add new functions with numbered names. > Can programming preferences evolve into the direction of =E2=80=9Csay wha= t the=20 > goto does=E2=80=9D? >=20 I could agree that macsonic.c has no function resembling "probe1", and=20 that portion of the patch could be improved. Was that the opinion you were trying to express by way of rhetorical=20 questions? I can't tell. Is it possible for a reviewer to effectively criticise C by use of=20 English, when his C ability surpasses his English ability? You needn't answer that question, but please do consider it. > Regards, > Markus >=20 ---1463811774-1651048744-1589151508=:8--