Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2241502rdb; Mon, 25 Dec 2023 02:16:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IGkJODPPRFbizqBsFl2wSDj4yJkSdsKMch3cCw1eiZqkdm6dWj9bj8OOIInoz8eUxcpipCX X-Received: by 2002:a05:622a:1715:b0:427:8fa3:c5bf with SMTP id h21-20020a05622a171500b004278fa3c5bfmr8120206qtk.69.1703499374154; Mon, 25 Dec 2023 02:16:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703499374; cv=none; d=google.com; s=arc-20160816; b=wW0+GumjN/YLkOPDaCM4dayBqpocR0UlGvUTWaw/kk92H4Zvi8/jFN85cA2zPQhQEk e6hzpCURVo2rGJB1I2D/atMm0rbcxz1xijSUN/0r0h24FWf9L+fs9Tsr5cvc120hGGy6 VJ98NzBvJbHXO554FP6EKfBGG5VK7DXKlEUOJGnkybxx/rHw+6nFBtuZAjL7aZIa4og4 IP+6ncX61Fm73wTNQ/o/E08dKxeymOX/vQ3YUh5bHqB7W7G5w+OpabuQE396h2ZAOpF7 DK8pgpupqKUMudojCt0QbR2cLD0e0Zof1cS68jvy0A0V8X0rgJLCNMEWgMVorLwCIh2V LtnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:subject:from:cc :content-language:to:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=5QSo0c0Cl8C1byUvtUKYRMImJ/cqzZslJ0KQBPApo0w=; fh=ksZansD5U+4SwnCe5XSfBs20ubp6qS0cOKRNB4rLVWY=; b=KL9HB6Z1MWpFqwdg4afGLns9pLQAGFPrDY+Dd1X82OS13bbn0z3ZXd1xK7wWBI3TLr rs74hfIa/zM7m9hstiuBnwk2YJYSjj24hB+1uc1E6fn2yX/V7Tcp1k47apYniwRbyOb9 MQme7pqi9iwu9aLvDEs7atcnDKgic8bugcWi3MG67BKbNIpX+S9Rni6V5P5BUgOCYMHA hCboeiOeX+d85YU0G+qjA5ls9jz/86wxf9KGH+Qbf49qYUbquOVl3eKDqWYjQdjJpmd/ zS/QjZjXox0jkGPqu4Fhu6E/T/JCtHWc7pglSD+nbQgVZ9D2IK2bLP7/Zs1MrlKmjPhy mptA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=myxSzruO; spf=pass (google.com: domain of linux-kernel+bounces-10983-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10983-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id l17-20020a05622a051100b004239fd7fc33si10211271qtx.751.2023.12.25.02.16.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 02:16:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10983-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=myxSzruO; spf=pass (google.com: domain of linux-kernel+bounces-10983-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10983-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D10261C21896 for ; Mon, 25 Dec 2023 10:16:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E27B8321AF; Mon, 25 Dec 2023 10:16:03 +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="myxSzruO" X-Original-To: linux-kernel@vger.kernel.org Received: from mout.web.de (mout.web.de [212.227.15.4]) (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 6A5541D683; Mon, 25 Dec 2023 10:16:00 +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=1703499345; x=1704104145; i=markus.elfring@web.de; bh=CX4XrVdpP/rmSF+luv1fR+SLA7jv9GtKDnHAzolDcMM=; h=X-UI-Sender-Class:Date:To:Cc:From:Subject; b=myxSzruOU3vRfAN2O6LiFDuj/unESZEhd6nw9RiCoQHUh4YNrvrINKLm/m5xmqk7 QaDwSDv8umiBs3JDwot7/NmLhhR+1gsaR8L5cgfJU9locZlmfYmwEhk1IE+RPfLp6 UuUsmMEywkwTBL3H2ZU5xD+rJWtMK4RQxp4cuBKMN/fOZ5BbB4JL4gaMI0Z6OaXrU Kh6twsT7jugcLn2GXfU8nnKn6kjKUSXiDsWajce25VD6ss6TPVupq3vnZwZMr9SIM ESfLgOGQo6MZlqrThqNSRoSYmnqK6Flc6P/49wV0xk7LojDXqmsG4DMiDK7Juzbxc YZqQ6p9vHlSet0t+zg== 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 1N62yi-1rBCht0oHI-016ZhP; Mon, 25 Dec 2023 11:15:45 +0100 Message-ID: Date: Mon, 25 Dec 2023 11:15:35 +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 To: dmaengine@vger.kernel.org, kernel-janitors@vger.kernel.org, Vinod Koul Content-Language: en-GB Cc: LKML , cocci@inria.fr From: Markus Elfring Subject: [PATCH 0/3] dmaengine: timb_dma: Adjustments for td_alloc_init_desc() Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:y/FD+iSa3EBExn1MYsUggKexGMnSjtrzkFIyPzLSRPcOsGI39BZ h1wWI7EqwreaymNkj43eUPt/hWzowCNY3bcwjmEZS5iGcDQAMv3P1/KR4fMNVZVnwHs5607 3FNQcSEPwWrG+mfQxUfJGVDm2RhAZgRt15l+tDo1skSdq1WxN1L30zI6+Nfg9OoYm+Bd9T8 ARmk6FBOzzhxzM+Mz6QFA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:WWz7nW/Kxd4=;+P83b+SGk4yHHw1fHMJC69ld+qk yP4wwQ/ti30/QOf2fgSggNHMgr04+lhbRxnawNXcU5eWbazkDcYS5tPXS6ttFxncOzRoWmUkl 1rbylmlpTihS0Q9ObcYYVHN+gUw+Oe8nnu1OnFCx8CcTkb0AzKMzoOQyA8UfGiOUPQJxikl/K NgYIbSv0WYhuMimgEiF64wPL22pGs7L6gQvJgCGahclYBiGfdVPXr90dHPjMmujf+7tnrLkUJ 4l5XrR1a/vDhT0Ymc2XWGG6Onbyp+3eNyXYS7CsE6m3S9QVGlzakuZGz+Q0kB04aiOzBz3ROf ZJGae30e8H74zj7ffU1mQ01V5VcSWN++XupKlg52AqaR2RzPnGFuN+MM1UeGQf5am3g97t+1l I5QfxWRCgPvc5nYuz9VGoMNP75FbqeNYO2Ji6MeBCx/CRfIs/ZrND6U4FAwU+ATxr4EHn7ARi MAWLhMAtdpXmhn0hgfCc2uYdGFbOo20bOThpCxy23TfQ3RuzZMIj5PfTzd9lhk/0sLF95ShrC 5ILOQiu88lRzDwoO1E6aYkSGLc7/jmm5udfAIbZJJu8aEUUtE+UdlMVowk7+h9G9a7QoiRY72 s20OiAZLBLS/84dYDzqOp9fhM5b9BngAn1D84RMrZZe44RJanNEE+fTlgCMYP8DAY8rV8ilhB +gYkBCc8PvFhtm7qjWB6hXhTLNuLVe+NK02idUdEiEieAcjJCJZTwyXOghuogwO19e6o4MjTK 5OZ501FpAK51lgdsqzo7KQYLRf0kjTiMhAAZ1sUp/KVyCuWUcuYknXm3hL70QMOU3QY7m1Vae CyaNlA7yi5SUTs7XIEY87K6gxkNrLINVS5A3zGnIlyLpmVXOG/vLlJOjuNv+Mf3EdB342mFdR IpN1cU/bkyommLkmXvifUxeneiAGj8b8j209zNKT9mPOTuSYWL5PrRMkRXVUaPvhoDYrpEL7m x/ONIuFbGZwS+COAphUKuOt2sCg= From: Markus Elfring Date: Mon, 25 Dec 2023 11:05:45 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (3): Return directly after a failed kzalloc() Improve a size determination One function call less after error detection drivers/dma/timb_dma.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) =2D- 2.43.0