Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1030449rwb; Thu, 8 Dec 2022 06:04:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf6EwiaFxWJPM9I+Rw6ywmTkm7S58Bv8IwwDpDLvHz15uPXRjEtNgoCB2yLcE8RGlXhnj3+S X-Received: by 2002:a63:4c4a:0:b0:478:b6ba:eb08 with SMTP id m10-20020a634c4a000000b00478b6baeb08mr16396084pgl.129.1670508268420; Thu, 08 Dec 2022 06:04:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670508268; cv=none; d=google.com; s=arc-20160816; b=iC8z/AOkPgY7yRvIdjxkKtlQ4ngAJRSv+xVRB8xbiaPb+H1B1oUI2m/mnUi+pQMqTo nN/Scxq/gsnEpu5P6q3zF9z4eOt0tXQ9skKOHuvA4924ttGhYjM7m7uSs/5wBdouGuvK g4+IKf0XG7LGwDWni3pC0CZfjSyMhmohfJ7+t/DLrRhmlUZsQtpPMEe5yKH91qn7vYOP nFq9wO8+nxuY8I0KwU9Fct8AN3BUAM86TpkZyatO3Eojebb02JnM/gYAgJF0JZeiDS6f mLY2cXwOHGSCZIoG//xipmP6vFP5CkdvkdOdye6vHGR2m+ln0MKCI4q+Pl/y/VnouhfW LOBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=0XtR9ywJSQLod4gH44iNnSYvkp64uPpcQ46oK/u2YRY=; b=UggJtIjTSZoEHOPY7wxF7fnWT45/nR6WRbiPbKumlaaOkhAvdX7vzCIX3TT/mQ9qU8 KWJCMehxa3q+wWxXPHXjIDbK1qBRS9lo9SI7qnF7ZNTwtNzGJDFS/150WF9ss5JS3CWk 1dBO38hhbNuvv1lzdrXRA/RmLvmkQ5GaEzmRDi+fRNPQDQsKfqkZ/gbU9EVLa6ljum5T XbAVGpn/HukRIJUMYmQpPr8hk9TTbvmwKVR8d1Cpbgh8nAFe+rGVuBnSlG4/jVI8jN81 IV47QXgztF1Zn26ZdTmboHS9SUrMcL4P6G42sjxIEk0fynLgUQGAydaN7ZBi0+Z4EbqA z0jw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a11-20020a170902eccb00b001891509807fsi25607939plh.575.2022.12.08.06.04.17; Thu, 08 Dec 2022 06:04:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230240AbiLHMur (ORCPT + 72 others); Thu, 8 Dec 2022 07:50:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230237AbiLHMuU (ORCPT ); Thu, 8 Dec 2022 07:50:20 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 328D38E5A4 for ; Thu, 8 Dec 2022 04:50:07 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4NSYs73wqhz4y3f; Thu, 8 Dec 2022 23:50:03 +1100 (AEDT) From: Michael Ellerman To: Deming Wang , mpe@ellerman.id.au Cc: linuxppc-dev@lists.ozlabs.org, paulus@samba.org, benh@kernel.crashing.org, linux-kernel@vger.kernel.org In-Reply-To: <20220703172932.11329-1-wangdeming@inspur.com> References: <20220703172932.11329-1-wangdeming@inspur.com> Subject: Re: [PATCH] KVM: PPC: Use the arg->size directly for kvm_vm_ioctl_create_spapr_tce Message-Id: <167050315620.1457988.17097496914352939243.b4-ty@ellerman.id.au> Date: Thu, 08 Dec 2022 23:39:16 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 3 Jul 2022 13:29:32 -0400, Deming Wang wrote: > Use arg->size directly may be better for code readability.Because, the > variable of size has not been found for special purpose at present. > Also,We can reduce the use of a variable. > > Applied to powerpc/next. [1/1] KVM: PPC: Use the arg->size directly for kvm_vm_ioctl_create_spapr_tce https://git.kernel.org/powerpc/c/6fa1efeaa6671fb7339a6c62ceeec19e8e787963 cheers