Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1556875rdb; Sat, 23 Dec 2023 11:17:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IHuMgIiUGHR8jwUWpi9l3MXx4nNfkJL6biWiAszDrTtw92U8x+lqp19NoXn2G+DVVne0HTe X-Received: by 2002:a17:90b:4d86:b0:28b:e961:c416 with SMTP id oj6-20020a17090b4d8600b0028be961c416mr5153415pjb.10.1703359026964; Sat, 23 Dec 2023 11:17:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703359026; cv=none; d=google.com; s=arc-20160816; b=kfcme6QXWO8JBpTf6lH7x/WBlLV5eVvsmy+5qcCK1jDf5onryzOP3dcCbdZ35Sw24K 0QVb4i4fxx4V6g2+WIcC4ww15ZMirogRrl5coETsRZCRjCjx5dWkPmjf3mU1wboqOkMZ qQxF10WejKj0B7tkNvjIW3SEDE7YgZ9GZ8dNHLhTqd/O7FFZIOOO2+uZypzssBHCSJuv UME3jYFQtx2hWlnxTBqB0DJhHfkQD5XAHCAaQCrv8HfsWI1eYo4HY0Fc8xtH/Hx2XbZm yYmxgXNG5m32SpXX+NK5OfwTNH3Ol6yndvW/6FkMlJTnqH8O//PFcjnWpjkYz6ynYrMa Hg7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:cc:subject:from:to :content-language:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=weJfrsBroETkxzTe6L9LzNAwb/EewFngdyGs7fw/wN8=; fh=gxR0Shakz9t4NYmoviWM5nRP/xIkXMHN/AJRvnzy0+s=; b=WmY0OSlVjS10jpsWIrNPvNXqKYWePlZr49kvCpve3srgvCQyz+gBx3iP6oy/+/YfIS CWr9f6fI9ONIpIqk3jHI/Te2RgWZZQbRJnIkqixXVe7QZflZW8EZg1KpniGskxf+BX3L hLo7KWqbVei457LOcVnl/Eaptk422HoHd+S9eVJhcQSnnBiqT7CkSBEzI9BS2lStfBor qnv2sjRrrBakcqiry6mvFztrwYzmCE1jkYWKn/Wmg19gAP/9hNU19poQW5nZg/GN0yhi 0gX6Wj4OyC5OcxrWHpCTXq6FVo2/aSQnM+vIUVQvuNeSX0OAp07y4YlIdriyK615LRbi jUxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=P1amz+2q; spf=pass (google.com: domain of linux-kernel+bounces-10561-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10561-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q12-20020a17090a304c00b0028bd01cd426si4379852pjl.44.2023.12.23.11.17.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 11:17:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10561-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=P1amz+2q; spf=pass (google.com: domain of linux-kernel+bounces-10561-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10561-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 504F3282F0B for ; Sat, 23 Dec 2023 19:17:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F20514F90; Sat, 23 Dec 2023 19:16:58 +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="P1amz+2q" X-Original-To: linux-kernel@vger.kernel.org Received: from mout.web.de (mout.web.de [212.227.15.3]) (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 ADFA912E47; Sat, 23 Dec 2023 19:16:54 +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=1703358994; x=1703963794; i=markus.elfring@web.de; bh=wZCbHnDCjJnEvDzsimFepIu5Oz2VW9fSNRNdT/39XCg=; h=X-UI-Sender-Class:Date:To:From:Subject:Cc; b=P1amz+2qHaMJlKq3fWNGX+30JNQyuwtPp04XEaigBsc5pqEBKW8UNGJgZ+XeduDY +Gvv5mnPqf620FjIKmVYx8I/tKjPbbNE4C9gdSywBOfyfjjRcLvzWsfMr+bA5gXYY BLRVJ9szsmhzhObWQTq2ob1PcvOdArYM7ckkhuItd5NN6eo4MZ87lvt1HVZ2mO0fo He2eDpQTv/uOtHe3MiDeO0Kh+RUuOhkDCPxlU4j0h8rc3sJhbc5bsJT4tvB0Q+Pm4 8T96nKTe9ZcYSJJXDSpkb+C+OID1eYHVgSabMHGD3U8WUGX/PsIzg6nVZwpRm3rOv D+OcjXmxgQy7DrpuNw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.21] ([94.31.85.95]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MQPZd-1rctcp2beT-00MD18; Sat, 23 Dec 2023 20:16:34 +0100 Message-ID: <7be66990-de9e-488b-ad6d-fafd1c7bb34c@web.de> Date: Sat, 23 Dec 2023 20:15:31 +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 Content-Language: en-GB To: linuxppc-dev@lists.ozlabs.org, kernel-janitors@vger.kernel.org, "Aneesh Kumar K.V" , Christophe Leroy , Michael Ellerman , "Naveen N. Rao" , Nicholas Piggin From: Markus Elfring Subject: [PATCH 0/2] powerpc/powernv/vas: Adjustments for two function implementations Cc: LKML , cocci@inria.fr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:SSNGOMyB9De3VAUo1rhXHF89mRJ2KEVJ3ChkKr892h5SNGxCeeg 6J+BiPBDqKSqZOQJSI7/6dasGH93mG6rOKPO3ScMqM8AviJ+KPiZc5PmobjTqW69T/kXuCD ZniowXIJDCCGOU5569t6BzLCctJHry+HWycsWnfBuTKzd2+LjL2Khh75fYznYTx94/LLCTy tmJl2Eeq6ym/8IPcW4dcw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:dIsGslChmVo=;KIl2DQJ0SaaZilMKU2uek53scDv SLQAJykWPeahwM0XyCndzpqtiQk2TVJp12xeYPl8r1rvzn+7ZWsmWtAoWqrOKvcGW5To1537V 4zP/4iTxfr8GyAsBFKYhS6FmckbvlX3JNO/fGj3COvL3hoqFzU8m1KBZIcNp9lhpT0l9NpXzi u3u+O1Cc+uN4CjIKQgZ3Fdtd5n8DqOylrREkgAXnpB4xoXdlXhmBMYZsC5oFGwvURvRcg0IbR xgbDKv3Iu32RJPlY1YKIeldc2Ur8NbjqJVMODnyWaAjLz9M2tttS4s4SylDu69os3GBrCIWNK /TEa8o4bbppkZF1Iy/QsKMWzeHwenT4FQEd6Q3X3BKDQi5QGaL70jwFhh4tp2xTihbV3btMLb Ekrmf+S/a0Cj6kjFrjvKb0T5PCQiovrBiNFKFiNZgB+PnOt2goTgoHw5IblToHx5lNcVghXGh t6glnBYvRIgssCVbSGS45MmpYkdjuxVVwljyfZY4Kybd8Nr3Crc2K14dyvVOC+Iq2JSJHIebJ ShR67nqcO3MTbhikdL/q/VwHn6i8vim34hm+ngfuHzH1mQ6tn+kBqpq7VahOsYdlfl8JkWDaJ WfW/tDV6N/HWh/E/hbzi5K9KcQigBdKO+Ytsuf5QRj2UBOPnaa5TViM0d3aObYQQyjB3CFNPv u56kKApX1vkrymOK99vIHfNo7vOcgn83j0SZ6XykbOftSDifCpPMrQFhEi93io7qSN1jlvB// +WAkhlYlnggZKPyel3wZCWTMLRrAesOmZpYGfBInzLKe+4s4irqVc33JvfdXWWJKSzwOHgByd 9dYOngzIFrHLrhFtWL3nt+PF5FYskIDqIX06aOztsIWBiS1r0Et1W/tQ6hKLtuwCZA+SVd7Ni 9AgUYlfL405+kC/IED6lpse0IFlz1SVHw6mK6JJjylfENGDwxtt5gJBjG4IanOqVMz2vFpVNf nJbyUg== From: Markus Elfring Date: Sat, 23 Dec 2023 20:02:02 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): One function call less in vas_window_alloc() after error detection Return directly after a failed kasprintf() in map_paste_region() arch/powerpc/platforms/powernv/vas-window.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) =2D- 2.43.0