From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-188.mta0.migadu.com (out-188.mta0.migadu.com [91.218.175.188]) (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 DB1473242B0 for ; Fri, 21 Nov 2025 10:49:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763722164; cv=none; b=lFUPuU7WffnqQ+hOICVyTqpXinFDnmk8MApVuRxab7okM12i4Q2EVln1QlcJeoD/BIS+qbLlOPR9WHyqk1W8FlevsIlKPI9AWbqxBXumcKFvK8TBgSLYvZ82Lw37u+henb8t0nhIa/vP2j5EV84KFGgcy2z2vdHQc18M/jOUl+E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763722164; c=relaxed/simple; bh=3eco5jWQYwuNSrQskHe5vqfSdT94PTwzBcYPN7UFsYI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=aJniaP70t6YsUPrqQEQBHMgo75hw9VWiMh3gGlOW5nLdp3prpJSp507KV0cSiCuYdI5458bLUoImrNzWVPfrya4lMidbanJGs8W0WaHTD5m13LiNlcoG4aZGnczaAFuq/RclTo0WwOUf2NutHtZnSfftJEDFdSWkrqdfB1kQQh8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=DjsU3gbM; arc=none smtp.client-ip=91.218.175.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="DjsU3gbM" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1763722156; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MIWX+3QBlGHxsLrVfyAW5KP8uJTudDyCKQOw/ZODn0A=; b=DjsU3gbM2PjJ7fN8F0HABnztTK4mercatwaFEi0lRCcxvjaJSLeWMRNaFa63a/0GsTsNE/ KAWmjXLw3Xj+6tX8KIOEHR6zN/Vay/u7D8EJfSlh9cAfnWEiZsXz4ZL2soQrV8iIS6v5Do NXPAQ9GM186cDk03x5sArmNzMJTuHGE= From: Fushuai Wang To: 13875017792@163.com Cc: christophe.leroy@csgroup.eu, frederic@kernel.org, ligongwei@kylinos.cn, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, wangfushuai@baidu.com Subject: Re: [PATCH 1/1] soc/qman: use kmalloc_array() instead of kmalloc() Date: Fri, 21 Nov 2025 18:48:54 +0800 Message-Id: <20251121104854.75800-1-fushuai.wang@linux.dev> In-Reply-To: <20251121061022.114609-1-13875017792@163.com> References: <20251121061022.114609-1-13875017792@163.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT > Replace kmalloc() with kmalloc_array() to prevent potential > overflow, as recommended in Documentation/process/deprecated.rst. > > Signed-off-by: Gongwei Li Reviewed-by: Fushuai Wang --- Regards, Wang.