From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54965250F6 for ; Wed, 28 Feb 2024 07:51:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709106716; cv=none; b=UvZH5C3AiCc9DU0epMlC5s+vuVEvAnedmx/8ay5pPgidBUc8yQCQa0ZIQH1zFc0hENtwVOFEZJ155OFkaAtPQLOL/D4uiWlF+OGNqPN2YTcYRzNy7hn4WeImWGs7iNPhhH5YEKe/CtXAUpp7D4G5uj8nYMsrCbwY9vHInfvy4UU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709106716; c=relaxed/simple; bh=EFyY82Ys/yVpN4kZpBD/0yBYrBRn8veUJKTesIAzz48=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XBFFiuPnkws24vSqbwAtVLVNkPeLiBYO50ZciZR9F2XSHMAK8JXOHcFPopkG5ajHNFsKMjVDdjY2Fasie6k5R+Uzmrc7eWPcKV/FKsPenAaOvsmYeRta0MfzmOivQHfY6XEtmOraTBAFHS8V5JFd7dxjMoF9v90iY0n1whBstC8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us; spf=none smtp.mailfrom=resnulli.us; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b=G0dwp5Y7; arc=none smtp.client-ip=209.85.218.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=resnulli.us Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b="G0dwp5Y7" Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a26ed1e05c7so819757466b.2 for ; Tue, 27 Feb 2024 23:51:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1709106713; x=1709711513; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=AAtlA/kS/1yjrODzNnvXMEbo1KoT3kbP7fHuE5JKJgo=; b=G0dwp5Y7c+u9/TN92qiM2+1+8Q1TePfcGV9zp8DCqzBr9BYyyoEZRlVRClIkdZMlCa qSxxw64rzKEyFiNbvimPNoAycenmFtgmia+bUt2OA+gIAUiO562EooSllpECATqJaSi4 zOKlovygxMBpSutMlotxIzvBQBCzLbB41kpIt6hcz9S6JSiVoJg4xP0gXPcBtA2XyTqp gMOuaFeSpWVaY8cPTe5tA0ovww5QfzLIgNCCYbyZjPf1o+UijxUAi6Z+lLfAEHabjtNt INGKTt5z95fKLVCd/nN9+gRhXk3ob7JQyfFPk5d90sSkpHadazCEdV1wLypSW6pgCFx1 ZKew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709106713; x=1709711513; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AAtlA/kS/1yjrODzNnvXMEbo1KoT3kbP7fHuE5JKJgo=; b=BonpfbkgiQ2Jsnw21sXx5s6hxvk3CS02e0Hg9blYBr9r5IrnHt7RH4RAsPojPZZD+H 4VPhsIrfZlik/P2EZ6aP+kieZrmnqfVl4S0H5PSYhuwy1GWs2CWiYvLE0gOaNgb/U+SR y9/63oZfLhN6NKx9utDmnPy2rSDjnhGBY564OJeC3ZLgWcR1iRCH+rpC0vm271pGHSj+ FOaDok4466EdXe1cn8JR8ShW1ww/Q3pfFz82/Wscn7u6zjT4Osn+zReQfHTVWavbSDxb KKJwwcFe2/GA3qZr9gDI4Dx70rwO1QCvXpp8PkJ0iWgRJNUBJCSI652IMZBgRyJ4ShLd o/Og== X-Forwarded-Encrypted: i=1; AJvYcCVxCO3Q2wwa2meCzKnnwdmaTGGGq9g8ZmTCd/N2l00P5VAnTk3kDQf452zNBzv+N8q682bBSApRufYdBJnCkIj2jwwj2Rw6 X-Gm-Message-State: AOJu0Yx2bxWD6xeq2/ZsVX4UJ3kN7yPpU56ajlybiBJuo7OcgwTQMtdZ iD7ZPTa3EDWElUJcN7gDoArm6NFLNgSaZCu5x6MvsUz7FuMsz6yj0Y7Kia8Ef+0n0JfE8uncTtY + X-Google-Smtp-Source: AGHT+IFPr9ON0KIGYx74JKHiaaPAdKvkyKEZ4Fvnv37Yq5h537XaLhV/FJbYDW6gI/BWNQjThNmyaA== X-Received: by 2002:a17:906:1949:b0:a43:3b2:bcf6 with SMTP id b9-20020a170906194900b00a4303b2bcf6mr7467544eje.14.1709106712780; Tue, 27 Feb 2024 23:51:52 -0800 (PST) Received: from localhost ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id i1-20020a1709061cc100b00a3efce660c2sm1561860ejh.198.2024.02.27.23.51.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 23:51:52 -0800 (PST) Date: Wed, 28 Feb 2024 08:51:49 +0100 From: Jiri Pirko To: Jakub Kicinski Cc: Markus Elfring , netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, "David S. Miller" , Eric Dumazet , Madalin Bucur , Paolo Abeni , Sean Anderson , LKML Subject: Re: [PATCH] net: fman: Use common error handling code in dtsec_init() Message-ID: References: <9b879c8d-4c28-4748-acf6-18dc69d8ebdf@web.de> <20240227184657.76ec4e82@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240227184657.76ec4e82@kernel.org> Wed, Feb 28, 2024 at 03:46:57AM CET, kuba@kernel.org wrote: >On Tue, 27 Feb 2024 14:14:52 +0100 Markus Elfring wrote: >> Adjust jump targets so that a bit of exception handling can be better >> reused at the end of this function implementation. > >Okay, but.. > >> .../net/ethernet/freescale/fman/fman_dtsec.c | 19 +++++++++++-------- >> 1 file changed, 11 insertions(+), 8 deletions(-) > >..you've added more lines than you've removed so what's the point. To have cleaner error path? Not always lines of code is the correct indicator of patch quality :) >-- >pw-bot: reject >