Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp19564942rwd; Wed, 28 Jun 2023 10:57:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4VmaO8LFaeuLAavRIO0uQippsDgTtKY0Glqn1iOWnKiju3tfAf8bBa12ed8OvLr2S9Gujt X-Received: by 2002:a17:902:f606:b0:1b0:4502:8547 with SMTP id n6-20020a170902f60600b001b045028547mr16397945plg.35.1687975048702; Wed, 28 Jun 2023 10:57:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687975048; cv=none; d=google.com; s=arc-20160816; b=MSZJWr+8ZG+NB7yAs2yNoykFOjmKGosz4TkrpfJYcxCnE5vLfhS2v/BnDNgIC1R+ze /v0IEWQ6GlYI8aibSElIVeblqDyrnsJ+FFydosRISgCOyugCbHPfPygZ2cKtuCWSLGK5 U1K8O8qVxFLyS6aUsyuY+Ko7jlc8SFf68bnUngWIK0bKMklGINv/ZjKW7iS7Vaak6X1n 8arm5dUMymdfKwl0qZ1bha1svEVokHHyVLNUJj38BSYEkqKUBijb1rN1PHoHnop5r/89 RtqgTbJO3HXFecwYMH8Nib0Q2iaexAfP0+dcYBe4S0xd2L1dwCpXYqd/mfxuR+6/9pl0 DN1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=f4gcMA0oAXbXxZ6AhiBL84jasGitldsUSZgsSv4UPKo=; fh=ugaj2XFwguX7XTp08+4CBk71JW0bLV+fwbJmFuSM5Do=; b=n496UB5d/xj8aWg12nEUMY7r74+xwElM2hYswaf9BhORn7DfHrTdmC0v4LwGRRLdS9 AaaQ0C+JbGhDMeBv70+RMh+eUGA/+MJmPX1F32K/yqEX503vcUjpfZJg7sMse9syl6IO mRpRZH4tnVHvIBMNjBCOP4CNH0QSaymDyycjOfRgG/Jn4PuE2jplPjU0vWD3h9JF1hOW 2875smGpnqbW4Ofxp/SPHjunaef5iKzPUigI3kd06wDkzfW4hfK9HC2T1WfJOWXdl/RZ hvG+FoAyq6FIBEJVJoG5GEu5oAlt76VDovTkyJIIZlUyrGTVp+UkEQvOgP32f6olN9MZ IqzQ== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n13-20020a170902f60d00b001b3dd46d4fesi9357069plg.66.2023.06.28.10.57.14; Wed, 28 Jun 2023 10:57:28 -0700 (PDT) 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231731AbjF1RwG (ORCPT + 99 others); Wed, 28 Jun 2023 13:52:06 -0400 Received: from mail-pg1-f180.google.com ([209.85.215.180]:59881 "EHLO mail-pg1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231282AbjF1Rv6 (ORCPT ); Wed, 28 Jun 2023 13:51:58 -0400 Received: by mail-pg1-f180.google.com with SMTP id 41be03b00d2f7-543c692db30so4834567a12.3; Wed, 28 Jun 2023 10:51:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687974718; x=1690566718; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=f4gcMA0oAXbXxZ6AhiBL84jasGitldsUSZgsSv4UPKo=; b=lrj52n+oBR7QDrdKt0ShmUe2c7ZQ7XZaCmpm9sQcpyqaEMxx7/887hVOtMXomip7z8 EWXp69x1bYpydGy9rZ+DyHsUwGB83JwU+0VU2zR/+N4s/PFyb+Vif6gYu0JA3/5pjdjo Tfqfh7hirVpLIF3zd28r7G2k7oWph1wPFCbSveYcjWdp+A3YTie1IfYCJJy6xrd//TUx xpaWkRtivjRCdiK7NvmNjruilnCgc2Uc7/diPknbcdNInxFkOkCqhb1G+w9ggtDFw437 5ONLwj++1FOCr9t5UPgTca67xxYe1OwWl2k84Q316Wdrc3aHOwSZFu9OWkqcZdW3OF13 dzVA== X-Gm-Message-State: AC+VfDy2aLC2M6G7r8+kT/INIYp8JeziniOh2mTvKRh4p3Ax6Nc9RFhj 5KY2e5vbunHBabYZGW1co78= X-Received: by 2002:a17:90a:7522:b0:25d:e321:c4e8 with SMTP id q31-20020a17090a752200b0025de321c4e8mr34433756pjk.41.1687974718159; Wed, 28 Jun 2023 10:51:58 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([20.69.120.36]) by smtp.gmail.com with ESMTPSA id oj3-20020a17090b4d8300b0024e4f169931sm9905468pjb.2.2023.06.28.10.51.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 10:51:57 -0700 (PDT) Date: Wed, 28 Jun 2023 17:51:56 +0000 From: Wei Liu To: Kameron Carr Cc: arnd@arndb.de, decui@microsoft.com, haiyangz@microsoft.com, kys@microsoft.com, linux-arch@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, wei.liu@kernel.org Subject: Re: [PATCH v2] Drivers: hv: Change hv_free_hyperv_page() to take void * argument Message-ID: References: <1687558189-19734-1-git-send-email-kameroncarr@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1687558189-19734-1-git-send-email-kameroncarr@linux.microsoft.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 23, 2023 at 03:09:49PM -0700, Kameron Carr wrote: > Currently hv_free_hyperv_page() takes an unsigned long argument, which > is inconsistent with the void * return value from the corresponding > hv_alloc_hyperv_page() function and variants. This creates unnecessary > extra casting. > > Change the hv_free_hyperv_page() argument type to void *. > Also remove redundant casts from invocations of > hv_alloc_hyperv_page() and variants. > > Signed-off-by: Kameron Carr Applied to hyperv-fixes. Thanks!