Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1178748rdb; Fri, 16 Feb 2024 07:35:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUTVYfiOeUShwDUiD9pCvV2/jgoqwkntVliNhQGtdGSxRNgWYpbYl8GaPasUYeuWZVzDOJsgz5mpvHEYrs4IYLWx3f+hzGEuHbU3uyAtg== X-Google-Smtp-Source: AGHT+IGeROZwTGW5J+ywSXa8ElHs3RdQm4guY8IN/yhbWqkN71bkS5ZFf/7+Mi3qFY15tTcoRPUi X-Received: by 2002:a17:902:7597:b0:1d9:bf6a:cffa with SMTP id j23-20020a170902759700b001d9bf6acffamr4645519pll.45.1708097714884; Fri, 16 Feb 2024 07:35:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708097714; cv=pass; d=google.com; s=arc-20160816; b=ZuK3G1mtZcyDQ5PGNdRGLT7TEiE1TuDluqu85DcFDIrAf27sfxeVuB1ryzMUPMXCNw fZt034btlB9Z9rnTQeh6yonAfKabrtK0AeEyOx+XXwpeYS5r8BtQHv6O5/DqwiQqP2Kz WfsXNZFzLEhfYYBGML6hfze99O58UqQSHOP8S7F/9H0WvBhV0yfM327r5ftiHogpoAOV gfbsz/JyMaTRzlOKFjP1KMidqhOYYQmKSRVyf1tB6Emz5a/lnu17CfLcK1ms9+se3/Om aO1ffz1lkkYNVS+PAG4FZ4fzdNT1M8HxJ6zcX9tnYyzlWoP1kCTzhqbMVrp9oWeJfKeF +yYw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ffVQGH5CO6yIqhVHc9e6LaPuxYvvX/e38K9CHTgFpqU=; fh=LwDcizSYhI9mTqXex58J2mCpxupgo0z6DPgAd8z8BJ4=; b=nJLrOoGbY6z6Dv8VkR19K3yzLNWTiEZMfan9J0x9hsiohaqPYR2r8bm6BFEdShsTR+ VbPYw/JxSedi0YZ29znmrlDcx43hui+V/fYpNThYYvWmKmhY1Cwp4Z8k72T5uRRQbcRi Y0/HcJvxm2ymGy8yFzwjELYitRYk85d6BP8LVa1IUrWuosRd5DtUmcFiG2T0egaHbPwg 4Vk2VWLCP+TYt5omg4l0ZIuc7WN9on6y1oYiXDmxi46znlFF767Cl/falabNYuLIya+t +BnYWhGTPn5jrEYRcCDrjT8O0912CiR+06lLNyJ1W1hVxE74p48x9ZkMeiejtk4Z4ZVa XKkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@8bytes.org header.s=default header.b=Bn2HfMIH; arc=pass (i=1 spf=pass spfdomain=8bytes.org dkim=pass dkdomain=8bytes.org); spf=pass (google.com: domain of linux-kernel+bounces-68732-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68732-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ma16-20020a170903095000b001d6f61e84bcsi18124plb.454.2024.02.16.07.35.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:35:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68732-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=@8bytes.org header.s=default header.b=Bn2HfMIH; arc=pass (i=1 spf=pass spfdomain=8bytes.org dkim=pass dkdomain=8bytes.org); spf=pass (google.com: domain of linux-kernel+bounces-68732-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68732-linux.lists.archive=gmail.com@vger.kernel.org" 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 1437B28C55F for ; Fri, 16 Feb 2024 14:18:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA8CE12CD9A; Fri, 16 Feb 2024 14:18:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=8bytes.org header.i=@8bytes.org header.b="Bn2HfMIH" Received: from mail.8bytes.org (mail.8bytes.org [85.214.250.239]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 38BFD12C817; Fri, 16 Feb 2024 14:18:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.250.239 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708093123; cv=none; b=YxvEOSaLDUh+zhXyQuKd7au1o/cm+ntdBRzkrY9HD90MS4e7fmR/6hvlaRI9XSzYnEBxIcuvFOODAn837vSYiIWXTRhb8ga2z16qhvYTDusR4vfAedODf5L9HdTJA4oAr8zFGmcvVnr2ZBwblgrQwnoj5Z/zdzZfDNc5s6D9T88= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708093123; c=relaxed/simple; bh=SZZOeJbM9IqCNRzXyb/vtXg4j78a3vQTIUylqLxTqTE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PCbfKVvlC5J+iVWX/cgGbbfrgHX9lDtjpw316ZiEoyhZfkIHn2NKAyxgcEjRdNGW42zoH9f0nhnd7s9FST0QFcL9LaK2RxX7sZ1xnKoxUFkodgIaltnmek2oDBfNHCw/Cr++/P6F3ZnL7HLVTpxkwnByZvybH7uoSzsOLluAiI4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org; spf=pass smtp.mailfrom=8bytes.org; dkim=pass (2048-bit key) header.d=8bytes.org header.i=@8bytes.org header.b=Bn2HfMIH; arc=none smtp.client-ip=85.214.250.239 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=8bytes.org Received: from 8bytes.org (p4ffe0c3c.dip0.t-ipconnect.de [79.254.12.60]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id 2F8731C462F; Fri, 16 Feb 2024 15:18:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=8bytes.org; s=default; t=1708093120; bh=SZZOeJbM9IqCNRzXyb/vtXg4j78a3vQTIUylqLxTqTE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Bn2HfMIHDvH9l7V2fAjwpcG0c0/NmPWKIJH52PiBhofcHz6e8hQkwUtugapU8ixfY nw1ZuEJanOj9/S2F+ygKSJmWhnMUU5vpY6iaIQKy5d4z3KtgYfybLAQHIXlLnXbecG pdPSOZGYcFyNvyJ9pOQgyeqr1cZpPe0hdE1MZfV5VDKM0oSChLnSlbo8z7ClQiVjvB KxZqriHWB9+QO3em1KHwl9W4qG96QuAMSckuNhohjqeofGvIR9ZnefA0HH+U4lXzed fBy1Q+i5J6tZGSFiwmhr3rnb42eUik86OjtG7GZI/FTHiPnz6+dfDSWS8f0HTnrQPb 2aF35QAc5aPvQ== Date: Fri, 16 Feb 2024 15:18:39 +0100 From: Joerg Roedel To: Erick Archer Cc: Yong Wu , Will Deacon , Robin Murphy , Matthias Brugger , AngeloGioacchino Del Regno , "Gustavo A. R. Silva" , Kees Cook , iommu@lists.linux.dev, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH] iommu/mtk_iommu: Use devm_kcalloc() instead of devm_kzalloc() Message-ID: References: <20240211182250.12656-1-erick.archer@gmx.com> Precedence: bulk X-Mailing-List: linux-kernel@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: <20240211182250.12656-1-erick.archer@gmx.com> On Sun, Feb 11, 2024 at 07:22:50PM +0100, Erick Archer wrote: > Link: https://github.com/KSPP/linux/issues/162 [1] > Link: https://www.kernel.org/doc/html/next/process/deprecated.html#open-coded-arithmetic-in-allocator-arguments [2] > Signed-off-by: Erick Archer > --- > drivers/iommu/mtk_iommu.c | 2 +- > drivers/iommu/mtk_iommu_v1.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) Applied, thanks.