Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp2046391lqp; Tue, 16 Apr 2024 06:07:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVEt/0SL+UyKgsDv9aF9mHpI85WAmoCegD//vtvXQGrrugpFcsFXmEFiIoq8L9JiF4HhLQgpalaQqKGzTYUk0vCvxkFyJhvQpAiBo4eAg== X-Google-Smtp-Source: AGHT+IG8eMYGo2YsExf4tLzkJyWEn12CrfRQCIqBNPzuGpw3auSsNN+r1z5rCy56nZonYON+DgQx X-Received: by 2002:a17:902:e5d1:b0:1e3:cfc5:589e with SMTP id u17-20020a170902e5d100b001e3cfc5589emr13458536plf.64.1713272865160; Tue, 16 Apr 2024 06:07:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713272865; cv=pass; d=google.com; s=arc-20160816; b=nbf9L+4FAj1a+sUI8wV5hSvQgNkoCNPGhbRdF2gGVO6WHF6loQ3wKNMncg36C1BNFm dnJVan2yG/OtRwv2mSIVVNUV8cgohvlAqndpED3BrfTsOqL1zl1cw8Ci2XI9JUo+Iyx+ /ZOG1/v5lTKOcVdQ2EP28+v+Mo3qwPvSaIwXb4oP7WOGUsQt49GpqYRqbWcSzGmvSer9 MkyZV59+C5daxtN2CxTUavDQBV5aY0xl2thwUBOxWWyxXKYApZzCZwmkP4H4HPNMiNqs 27gC2kxcJiACG54xSsAAhDrHWGIWVNdlZpg8LtOmzlrZF8kK10ONMqRPcV3Y650LmAha EQ3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=ca8Cl3XLzplEVm904ERihnCNiIuaG/Q+OtrmyAAJcCI=; fh=mdcA9cvqG6Vymwuz9+VygBPxKaE4HkejgPmviASWF6g=; b=deITjPJmdxAIMJSJdCEIManUkTHPSaWx5oovZBHR2Y1sUaYcrga6bJxsHFLDgpNqIs Bg+3qWlgfSTRuxReR9M33N1Ndiszu6MyppZPtdewCBJJW5PmCTVaZ1Gna+7xLK5/8djL WS6mLiies3TbJwSHAWKqfWaN/ksdM217P2dMzkJIhwrgrn4kMlZ+ZXjCZ4UxVJkhkgwb WyrLSSj05s/plp7S4aC87DE971aeG8dyqGaPVSvvOkToOMFt5Gr/AU+8LYglvdiQ5z/0 iPcI/jIOWwnFBXJVibuqKtG6zWi4VskzcBLr1KqsCMa4ZPDHuJMLBxYypwXFK0zMuS33 c9Dg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=PVsbVpvb; arc=pass (i=1 spf=pass spfdomain=web.de dkim=pass dkdomain=web.de dmarc=pass fromdomain=web.de); spf=pass (google.com: domain of linux-kernel+bounces-146847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146847-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d13-20020a170902654d00b001e77286f275si3202556pln.116.2024.04.16.06.07.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 06:07:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=PVsbVpvb; arc=pass (i=1 spf=pass spfdomain=web.de dkim=pass dkdomain=web.de dmarc=pass fromdomain=web.de); spf=pass (google.com: domain of linux-kernel+bounces-146847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146847-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D152FB20DED for ; Tue, 16 Apr 2024 13:06:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 683DC12BF15; Tue, 16 Apr 2024 13:05:59 +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="PVsbVpvb" Received: from mout.web.de (mout.web.de [212.227.17.12]) (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 40EAA1292D7; Tue, 16 Apr 2024 13:05:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.17.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713272758; cv=none; b=rjKuc1Z0s21OB6K+9SxrBXL4pFe3KEZgUfPOYm5dsjCiztQwJkXG6XOmx3bbF3f6DbQPwk3n6gzoRTvbLqb25cVpc9DOH/+OXZ/b5mqqYHdkLJfQldZjhrRVKK7WjsmPPKCMEqtBo4WTiwL4IkSnfgwcImO08svqiGB/5nZQjDg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713272758; c=relaxed/simple; bh=ca8Cl3XLzplEVm904ERihnCNiIuaG/Q+OtrmyAAJcCI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Gg3tb+JZKk5F697Oha9pQCT2H2auyOxLtZLwXYV7Xg9GjOWa8bRlvkkdwIaLF83BzrJiPOAUU2ukngTmm/Ogus6psEbHAM/qz5pYOId+jhYS7vSR9hXzjvX/U9pKE8U/Wq2tJp9JvmDOhq30nSO9F199pH/CDb0HtU6egW8GE0Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de; spf=pass smtp.mailfrom=web.de; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b=PVsbVpvb; arc=none smtp.client-ip=212.227.17.12 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/relaxed; d=web.de; s=s29768273; t=1713272738; x=1713877538; i=markus.elfring@web.de; bh=ca8Cl3XLzplEVm904ERihnCNiIuaG/Q+OtrmyAAJcCI=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=PVsbVpvbn3NmKytdDeRSUzNTv99lozcqE2+J6VBtKbbqUuI466dhg6SxG4YCpojt EcbYegfhuxm+kFJXgyC3dw7XaykV5nVLCkUGEkKCt8ToqnwAmIKlmZx8TV5nHugff SKFKjFy25uYu4pSF3BsP1CfWWMXGuwguqfKdMpEGSMXjCT7V6zFMhNkViNGtA7wYI ki4Nu6KiyU/7JRzAgi7uuyktzTwQY3lyXj7gCuJiVWNhzwLr30q5dsg1fTH7DOXeD qqQGRyoZ+cZHTxTf2pol5Ilxqno4JKDdAzxPvnzlvUL+wFsgsK4btyc96jyGMeFaI dYV6Xtla9wDjJOShRA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.21] ([94.31.85.95]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1M7Nmo-1rp0LG0iQW-0081qf; Tue, 16 Apr 2024 15:05:38 +0200 Message-ID: <77288a25-6114-45e3-b849-4c48116af78e@web.de> Date: Tue, 16 Apr 2024 15:05:36 +0200 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] powerpc/powernv/vas: Adjustments for two function implementations To: Julia Lawall , Christophe Leroy , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, kernel-janitors@vger.kernel.org, "Aneesh Kumar K.V" , "Naveen N. Rao" , Nicholas Piggin Cc: LKML , cocci@inria.fr References: <7be66990-de9e-488b-ad6d-fafd1c7bb34c@web.de> <87plupbm0c.fsf@mail.lhotse> <795ca003-4231-45c0-8bb6-178597950fa5@csgroup.eu> <33a38d7e-26da-46e0-90d4-7137f9ec0c90@web.de> <3711cad3-a627-4a6e-8769-ce916c1919ee@csgroup.eu> <3f22920-9543-efd1-a32a-477ae18a2b2a@inria.fr> Content-Language: en-GB From: Markus Elfring In-Reply-To: <3f22920-9543-efd1-a32a-477ae18a2b2a@inria.fr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:QZe/Xfpby5Yzh4ML5dL/xWw0rfgIaR+vLFPEZOY+KKaRjk3XJ8q JQ8iyJRZTIH9iwJR0LdwrgqQaKNhDtH6oyxbyP52cDntgHTbyCmjy+8kqySd6cgr0jrgpQC hvKCDyUP2g8uh2oANsmrMHLU4oZ9c/P14wVLNn06QHfSxixH05aMaTEYTj8op34uLrRkpr1 xpRkH6J4FRKQBrucHiehA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:1M1alroXzts=;cqW/3yAUMIIAinMsv1rymEBg+14 LeCtlnZRH6mesVjMV1Cah0nudr15ldWC9pnjdv2KA49quwI7KQqSCvjfxFQOF6QuclWQs5LQN 4feSeRqtTZxYXpKhbqjKVs99SY7Msprt4QbjPZfup2ogjk5ci0kSTJKq7fFaiGtXlBmUZW4DX fHRRJk//Nc8+SpHtM22puc2R992esQ29XEnD4PYhmeIRdmOf2sVtwEno3JniXTLQ+MSKX/BHT nk3HvEpavLKWVM06lsug3Nu2PsfAwJtfW0epszCeOhqNrlyMN0o2BcFfH1EZQxEfytNaMTJNS LvMLN/HfIclphTAujelvwVFb7Nx2iLr3vGSWovjplNXaV/L11WVhpkaBQzCmNUg8o+OtyaZhH WNbdD+wF+kGerEqyJkZMbKLE/MNysgkk6zwhbeNw9nhCkNESnkZAbGQhL89mfSphGvHrnNzVT FMRXaxEeozL6kbXLoHXdQyMP2rSiMsQgmksEpTdzVJe8EaW16QK7xSBAFJsEFfqeusjQwes9s zfxR33i34pTmtgQAFH5iiXosrDBVyhwe/hvFvywrsKFQz9S9ktqiT7dUfrhOgTnDzYLV6SE/t Su7T3f/ZSvijnx9ezLJEKCOdT1ocutynBNBdANPDspCdUJXx0V3cAm2UkQUx56YIybQ2ZZwoc If5RMUwjS8u13FTH/fwOCsW704Pfa7Ju0ICKffMhJF8vz4OBDYkQlT5oOJfmmwh+B7nN49qpM KsKdJRktrGtX3qzyymArFnlNmzwnB9wMM0yjGlxd1r4isyERlifi00Y6+XazHF8jaif2Gs2U5 hhswF+8+j1lPI50UFpMdsIL/DkMvp105vjONzZMl0c4RI= >>>> So Coccinelle should be fixed if it reports an error for that. >>> >>> Redundant function calls can occasionally be avoided accordingly, >>> can't they? >> >> Sure they can, but is that worth it here ? > > Coccinelle does what the developer of the semantic patch tells it to do. > It doesn't spontaneously report errors for anything. Some special source code search and transformation patterns are occasional= ly applied. The corresponding change acceptance can often be challenging. Regards, Markus