Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5171174rdb; Wed, 13 Dec 2023 00:26:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEmCPnlZFuo+5F6Phu4zxeSy3FGJo9F3wz3KINWoOQi/KbAaMxn2YfEu+m/OZA5741M9+3P X-Received: by 2002:a17:902:b197:b0:1d0:7f06:1751 with SMTP id s23-20020a170902b19700b001d07f061751mr7610650plr.79.1702456009708; Wed, 13 Dec 2023 00:26:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702456009; cv=none; d=google.com; s=arc-20160816; b=jJt3Zf56PtSVom7BTdQ38G+KY8F4MZ4NnNCY+pF41+dNsjCENwizUufDm2yG++pJCP yvp5vMG+c7oFDjmfCOQ7XyxM4o753pKUsZE9a3+snHe+gl7Hq5ivnkvqFf3Gx9cHqWR6 B0d8YDM82euIa8sVDh+9w6yNrKeauK8zY8YY0wDwNALPaEYEGxWzjMQk+V4wEVXwXfG3 +EGHH5X97GOGUO4Z5FhYRPUJ5pDC7zR0VENYptsQyC5CTFoGHdOGZ/H1c+AvCsxcxLaU MR9I9HChKQZoUlMU9Zxz6dI2J/c8Q3rFBsLvVu0NMZ+aGyc5CrHGnqOdEchx3QeWdFXJ yM1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=tE/wsQc0NvMrBcD3wye0l3DSrzAEfoQPWgdUdXeJ29U=; fh=jC76TY7WgSpbCExipSYeftAJ/+PcKtP0uNlkVr02WyU=; b=WktTOkpovlhxvsup0/xlECcZuRLdQ8wvA9zEyl5cVUqP4oGI39osZRI4ADq8759k1c 5rntFxb2v0pRJ+uaFMCnVBjDebJv4NnsxsRU/RqkEYQQGJs/3RMQZtLLReSFVixrS0RU 5oe1aaMagxBd5N+sX6DUMAle1KBtD89Kj8IzYZsfLMVMHZRk8TR9THh+f6aa7oHlCqXx Ojv0QPVQHyFWt/OZkASV039VAQstfkCejb7NmmovoyQSms/5zzUaRRAOaEH8rYuKhoDv uJzcFiskF04G4gBtDKOrNMdQVIEOBvT1irkBgvNYQRQ31iaMLdSr/dUw4uiUd4roslpM 3ALg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ktBc2sce; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id m5-20020a170902db0500b001d015cec684si9547523plx.238.2023.12.13.00.26.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 00:26:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ktBc2sce; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 4C0D5801B190; Wed, 13 Dec 2023 00:26:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231756AbjLMI0Z (ORCPT + 99 others); Wed, 13 Dec 2023 03:26:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbjLMI0Y (ORCPT ); Wed, 13 Dec 2023 03:26:24 -0500 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92F9591 for ; Wed, 13 Dec 2023 00:26:30 -0800 (PST) Received: by mail-ot1-x332.google.com with SMTP id 46e09a7af769-6d9fdbcec6eso3240487a34.1 for ; Wed, 13 Dec 2023 00:26:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702455990; x=1703060790; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=tE/wsQc0NvMrBcD3wye0l3DSrzAEfoQPWgdUdXeJ29U=; b=ktBc2sce9zbDV03ymdmV2PGRfL7naDqxpxR5RCfhnMSrmn8ukQE6SYxFpBHvcBnK16 a4SpyShlXtw77CEhj8DvnrQzsXUihcTfSSPA5cDr1B3IIVYHPqge+rMi0hPRJMb0lkVT Mi7laVvaOYBUt8RqIenc5++y51EN1V1ibwGaiIF5rHHTTn0645I0M5zrhVePHPS1mGK8 b75fkuVx+efeVFIDKhCJhSO3EbbwxW+f5RdS+jr0v5fi2yAQRCi3tlQmLYABQIFMBlkZ xsJAFC6n5X/4pthKvGGv/Ms3+jfB5DN/fcXu9wqbFn4YbKpLEr5EEy70wM3jqoJ5rC1v nrSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702455990; x=1703060790; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tE/wsQc0NvMrBcD3wye0l3DSrzAEfoQPWgdUdXeJ29U=; b=xSue3Zd9NPZ+TE5dLVwXMEu/82ckRcnY4rrrlRPObumCKBKjUuKrLvwBPbzCwZLEt2 nrHdiMnjs0Z2VRKhty1UzKi72468UbG54LkFBYEPi3H6mu2RdK/T+hIfL2UIjQqR6JtD 1Cu8j7GvUi3qf28Zj4ffIrPOGQCsLZnABa4Pzh+v9exbbdH5UEgKovnCemV87UwFhj3Z RT90i85jJaJ5+mXiweWICU9s/RdYNrn486cmQB7g0Kk0Qc2+zoZFmX2NhcJtGSEHlDF/ 2RnM/ftUZo/fD/qgDRE6MhPYv8s57Ayshl7Jz185gYG6xTMeD9PdQtY9rzygy4USa6nx 5v5g== X-Gm-Message-State: AOJu0YyidzP1+c5wTqVgAJhCT/4dumLcjlS/E0eKqepkwo3/vYHs6o59 ElF5UX/ERWlAcscXzTh+AyoQf3RHgDznVCkYH9vDdQ== X-Received: by 2002:a05:6808:2f15:b0:3b9:f684:f4ea with SMTP id gu21-20020a0568082f1500b003b9f684f4eamr9169286oib.106.1702455989885; Wed, 13 Dec 2023 00:26:29 -0800 (PST) MIME-Version: 1.0 References: <202312121120348064534@zte.com.cn> In-Reply-To: <202312121120348064534@zte.com.cn> From: Linus Walleij Date: Wed, 13 Dec 2023 09:26:19 +0100 Message-ID: Subject: Re: [PATCH linux-next] ARM/dma-mapping: replace kzalloc() and vzalloc() with kvzalloc() To: yang.guang5@zte.com.cn Cc: linux@armlinux.org.uk, jiang.xuexin@zte.com.cn, chen.haonan2@zte.com.cn, cgel.zte@gmail.com, rmk+kernel@armlinux.org.uk, willy@infradead.org, rppt@kernel.org, jroedel@suse.de, arnd@arndb.de, gregkh@linuxfoundation.org, jgg@ziepe.ca, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 13 Dec 2023 00:26:47 -0800 (PST) On Tue, Dec 12, 2023 at 4:20=E2=80=AFAM wrote: > From: Yang Guang > using kvzalloc() simplifies the code by avoiding the > use of different memory allocation functions for different > situations, making the code more uniform and readable. > > Signed-off-by: Chen Haonan Looks good to me: Reviewed-by: Linus Walleij Please put this patch into Russell's patch tracker. Yours, Linus Walleij