Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7149211rdb; Wed, 3 Jan 2024 06:17:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+d9/8FNBR//tDIoLhyEJzeiw1JRKGUnLzWTbWczP3m9S2W+J5qIy+PLk6cIWhhm6CBvbp X-Received: by 2002:a05:6a00:a03:b0:6da:23d7:3786 with SMTP id p3-20020a056a000a0300b006da23d73786mr10172710pfh.21.1704291445499; Wed, 03 Jan 2024 06:17:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704291445; cv=none; d=google.com; s=arc-20160816; b=Hp3Xcg9/4DRix4O8IlbjJq2SmMZ8hb9pFjnqfCSL+Lfk73Q5Pu9/fiHBK/mAgXeL87 BynUpHx57LafISKj/Q9aDfc69X23+8AyGTfsvKDjnJ7VR//WChEa9r1QJEZisXOkfrL5 DKfXN75MLvciqiU3F3yGxXhJufC5VygT7N3UPy9aUPdb/R7KLTNuaGvqGGHYlkHDltc7 7Ae5KOxrLmYIZlT3tDruQmY7VLRfTxqUfDzGRNJChsk/ZC5PbQvuFarPEzOkDijeq5JQ WR3UQwsql6KGUrJ7wfxNNMLCqsMEYI0x/J6pUXraM+HBR45o+pITfjy8teGYaktcJM4Z pSIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:from:cc :references:to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=Zn3zvLXLmFb7bnZCSQaHOVJmsR2R8N7zxi5Wct5XHCk=; fh=Cp4uap2YWdvqDd4TW72zqs+PczNP8FtOW3+AWOBUf/U=; b=uDLI7XPRAGfbcu7rYJ1R+zfw6y5AXx77C5PYp1hGY5qx8I+YpRL4hAycQjLJGsOOGl ike8uQVhIHJLNGYtyC5zw0kYylNqdJG4P28pLx+zhRwXkiByw11qMJn5oQnt2dlhID1X ojWmdcyISVpS1+6wrTdG7ri0/B3RIMmAVmz0bYIUIVwOGoqio/pojFBPGpDWgpyEtR82 ZWALJhlV7icmigURbV2LkltgpGg5Y1oQzzSgLmSjkngmSZ8BY8OgfJ2xaWtPFCnIl+K9 rVzNCA0cQ5A7vj8iE94kxlf9FmwqxZxEuthd/Fgs0s4Ofcn15yzZ8o0RjuHHlmDE6CWl NemQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=Qe8NoxK+; spf=pass (google.com: domain of linux-kernel+bounces-15638-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15638-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z64-20020a636543000000b005cdbf06a037si21739605pgb.692.2024.01.03.06.17.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 06:17:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15638-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=Qe8NoxK+; spf=pass (google.com: domain of linux-kernel+bounces-15638-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15638-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2DF49283F92 for ; Wed, 3 Jan 2024 14:17:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D45591A729; Wed, 3 Jan 2024 14:16:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b="Qe8NoxK+" X-Original-To: linux-kernel@vger.kernel.org Received: from mout.web.de (mout.web.de [212.227.17.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5CFD1A72E; Wed, 3 Jan 2024 14:16:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=web.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1704291373; x=1704896173; i=markus.elfring@web.de; bh=Zn3zvLXLmFb7bnZCSQaHOVJmsR2R8N7zxi5Wct5XHCk=; h=X-UI-Sender-Class:Date:Subject:To:References:Cc:From: In-Reply-To; b=Qe8NoxK+zIec3T5OKtK+EAj8ioPDL9qEL31kzDY2OvD9eK1/drW5oG9TP3w4y7SA e6s4XY6d9ujpVDAx62rfjS/BmGJPh5HO3Bo6rGSnByLP1DqBTe0AN01rGVh5SXMm8 8ZvqdChzQvdaHSJbq85TtfGoUhPBaoMGHGeE/gZN42joQV0adsiiRVv12GGRxjCty wqRyb1Fp986hOcjfHLEJ/KmMelSqvn3wbe5lMyWqmlXyIsF5m4F/CUGKp1jzdJub2 eons6mKpRzR62fTbH0C38j5/+lXtiwkGLQ2EUFVO2/4A0EI931alKWYwfGmtJzcLz 1O4vZMfoqZMQa9Q3Uw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.21] ([94.31.88.95]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N2BM4-1rDuGx0ggQ-013kOF; Wed, 03 Jan 2024 15:16:13 +0100 Message-ID: <3d62b430-030a-4e85-9d4d-0468d237d371@web.de> Date: Wed, 3 Jan 2024 15:16:11 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [0/2] net/smc: Adjustments for two function implementations Content-Language: en-GB To: Wenjia Zhang , linux-s390@vger.kernel.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, "David S. Miller" , "D. Wythe" , Eric Dumazet , Jakub Kicinski , Jan Karcher , Paolo Abeni , Tony Lu , Wen Gu References: <8ba404fd-7f41-44a9-9869-84f3af18fb46@web.de> <41536899-3ca2-4413-b483-3d27ffe0d7f4@linux.ibm.com> Cc: LKML From: Markus Elfring In-Reply-To: <41536899-3ca2-4413-b483-3d27ffe0d7f4@linux.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:qzcILoEqWzmESYCmwI5ev40sBfETqja0zwynn1iVHYwe9Lm8Tuc LRezkZejbT771VWPc+nQ9Dl9LV8zYkcS70XEX9PeMs73aMszk9D7ULy+og/biWIZrWAEIol 0YXp6icHLC6LD7nFOXi9Tpqt4in4MDl+L4oj9Egz6RzccB0wylG8CqdroYhKxUl8HsC59Fj A4dzZkKFxru0LoN9+qZBw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:q/blSR/UhsE=;br9DybMm/k674NvLS5wxXx+po5+ aVwj+BcI4b0vFYlfB8FkrOPxJ7p1gxmI4O+pLWpKAbrCWF7MFso6QkUY/eLR1DZW4lwbCfvou R6YVtuKq8UmT4RSvzhAnrQ0FPhcDAbwcMD5wgZNqV7Soc6TEsyOIPL+xnuDvdvyadvabb+f3m +bzf6EycstiWdpnK2Aiz+8pzUH6tnUoaBCR1qpNwxneWPYg9T7C0HAa1bacU9Balnswch3loA vZo/KzEweUvIw/XfILVRG/mnB53VYow1CNqk9T54u98NHYDVe114dlvAfWFCpZroZ+Ig/4wLA wysBNjFnAcb4vLIUjYjfTiumiNjvbIfVLp6wc0gMB4DkfOM+vX/X59iLe/iD1J51yefC4WkRT vAT25qjVzqLaBw98A/0ZWPxWUkEgC/Wt/7KPfOGfsbL7RJJYi71GtSqYtiJ3S2FiK2rO6brjj tpb6u3Z7SVga+U2kpUjCnrO6Jp+M3R/XX2gRBsT1542aufOiPRNkbDxepv7GfGA6WQSQ8ULFT SSsZqSQ4ailE60sd7A7Mtbd8PvXTbRYnB/2wdI9VICTk+9gT3rZ9pv9Zm7mJNDAcTvpxSDuKf Y1/cbhcs4HC7S7yNPtJQdLtRVxI5Im4sAucTVQLhrsO/SsaFKZxUw5iG0g9fnkyt9sYzcA2JJ R5XwRoB81ec+XkmlWbzjsDs+/2Ff3wnYTHUa25zow7QooJMLxItQoHd2Ic/xKZuDaHLVaSrCV wvC/ggjmWbM4BewAHpNVZUSjxd9T1p6PFRF9h87YgmoOgJeniVSkgHAhcUmd1EN36CN+CkMIn LuoEUnUCsww/9rsRO1ZjRtQKQDGh8vt6DjEXYZCrn5AocqQV7htUIyclGEw5NysX9/tEpkoWH L3k1Y9r4dF45g/BAZ7isvCQU/SjRgsDh8e5QkY2o7aEFUm8gyjbqrBi4XfKdf61QGkD1ueAjE JIa2/CLrJFzAWUTFXLceVatJKGQ= =E2=80=A6 >> =C2=A0=C2=A0 Return directly after a failed kzalloc() in smc_fill_gid_l= ist() >> =C2=A0=C2=A0 Improve exception handling in smc_llc_cli_add_link_invite(= ) >> >> =C2=A0 net/smc/af_smc.c=C2=A0 |=C2=A0 2 +- >> =C2=A0 net/smc/smc_llc.c | 15 +++++++-------- >> =C2=A0 2 files changed, 8 insertions(+), 9 deletions(-) =E2=80=A6 > However, I'm on the same page with Wen Gu. I could not see the necessity= of the patches. > BTW, if you want to send fix patches, I obviously propose to adjust specific implementation details. > please provide the error messages you met, This development concern does not apply here. > the procedure of reproducing the issue and the correspoinding commit mes= sages. Would you like to extend the usage of source code analysis tools? > If you want to send feature patches, I'd like to see a well thought-out = patch or patch series. I presented some thoughts for special transformation patterns on several software components. > E.g. In our component, the kfree(NULL) issue doesn't only occur in the p= ositions where you mentioned in the patch series, also somewhere else. Does your feedback indicate that you would support the avoidance of such a= special function call at more places? > I would be grateful if all of them would be cleaned up, not just some pi= eces. Do you find my patch series too small for the mentioned Linux module at th= e moment? Regards, Markus