Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp392711pxa; Wed, 19 Aug 2020 04:31:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOApvQtgFbUccbLdK8+20HwO9xvzNVXzQ1bGMqhP9hb+IoUVjtDqTuCVFKGpi0Ma7mMtW1 X-Received: by 2002:a05:6402:1593:: with SMTP id c19mr25046766edv.318.1597836707302; Wed, 19 Aug 2020 04:31:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597836707; cv=none; d=google.com; s=arc-20160816; b=aNdHFYpoV4Fi0JzURhQFeiOBFvpsf3JnD9NqmdGzpNBqGAa9P9K98yYArIN0xulGBT vjylymGgRpv1zJVD2KMBXqyqHB9iv6l2rMvYc48b8LB4UYxHpbvdEruXVmL/jQb8gLRb H5uXGypGkVJaf+elZRpXHV1iGj05JQQncyfOkFh+jLuXiMzyXlzqlXI+LxoyGHw6KjdI s25utpQScLUAfovoF211pr6eF0m3VK3ymnwIefq9bF7wxu1+5ZSJeMAodSbTMfBV0yzu 12MhxUrCJcYKiPpxWE+gIGS8+Tpz+TskWJ9JmIwAP5SI943M8ZZ7xiFe6Si2y7rz6USr lqwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ijq/eOVTt4WGVZZrPhxwtbhfjRio5pBRGbeqfm+WtYY=; b=rmLxPrqosWFqghQlZtepIdEnfZOJpmqLSSbEecmr2Mdc1Rt33RMiZk5KsfbkUyfhc/ 4HJA40dUWspZc+ZkTnPfOAoTLZOw6QVX7Htl6gIcviMy0vKj3zwPoXA/V2Us/7GrV26X yCETnFXw2o94urzrhy/uVKp42FlRfggSlN6+yBoscpVwU/wjbyOMpPW+TRRO4iphZjDD NtvKtTpJpKLK8EL9mrpPulNu4iawlx05B7jbQhn/E/3JdnJMxwDuQtORTNub5tv1rQWf TLpn7RLbiKaU6CAbw3mjFj6iq3eXHfbUvkwmxN4yurbIpFUChBQIea1sr/cffpRIfPml llTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si14987425edz.288.2020.08.19.04.31.23; Wed, 19 Aug 2020 04:31:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727939AbgHSLaa (ORCPT + 99 others); Wed, 19 Aug 2020 07:30:30 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:38428 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727869AbgHSLaZ (ORCPT ); Wed, 19 Aug 2020 07:30:25 -0400 Received: by mail-wr1-f68.google.com with SMTP id a14so21173675wra.5; Wed, 19 Aug 2020 04:30:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ijq/eOVTt4WGVZZrPhxwtbhfjRio5pBRGbeqfm+WtYY=; b=j4KOndKQ3Cf+/SMw+sOZ3IBvdiU9cGyBZP1noDIAYATbdOW1HRi8UtOsT3SAaqEn/G KZ5FpsRbbi+rce33fPlA7yKXfu7mAlPLp26L0g5XX6q/ZwFMHCgX2sbPhlflfxVRy2rq BFDFSAuzpMrvdHDySgHvM1KP0kCa4FYg4ZCO4NnwW+y5KkNytyVZHKrwRCySmM8PG/Qq 3Ov+27C5rfqWGEZ0J7lOKfdX/Qt0j8GPpzyTCJ7mobdxp8JeOhybzusQ0OKkfKJo2cDN IBBuVNr0MIDSx/zaVm/bNDsEGso1FQX4/YBRcCMh2tGxks4xZAKkbg6PpfIIvcg1lYDk IVmg== X-Gm-Message-State: AOAM533I4i9jaHEG/tBjl/klgmAbwLYQyBorjX1bMkQjJYeuWs4f+yl8 Z76irB5DtwBIEizjOfAv5Q8= X-Received: by 2002:a5d:4c45:: with SMTP id n5mr3723014wrt.68.1597836618075; Wed, 19 Aug 2020 04:30:18 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id k15sm39349945wrp.43.2020.08.19.04.30.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Aug 2020 04:30:17 -0700 (PDT) Date: Wed, 19 Aug 2020 11:30:16 +0000 From: Wei Liu To: Olaf Hering Cc: linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu Subject: Re: [PATCH v1] tools: hv: remove cast from hyperv_die_event Message-ID: <20200819113016.6uz7onkfybylaxcx@liuwe-devbox-debian-v2> References: <20200819090510.28995-1-olaf@aepfle.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200819090510.28995-1-olaf@aepfle.de> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 19, 2020 at 11:05:09AM +0200, Olaf Hering wrote: > No need to cast a void pointer. > > Signed-off-by: Olaf Hering Applied to hyperv-next. I also changed "tools" to "drivers". > --- > drivers/hv/vmbus_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c > index 910b6e90866c..187809977360 100644 > --- a/drivers/hv/vmbus_drv.c > +++ b/drivers/hv/vmbus_drv.c > @@ -83,7 +83,7 @@ static int hyperv_panic_event(struct notifier_block *nb, unsigned long val, > static int hyperv_die_event(struct notifier_block *nb, unsigned long val, > void *args) > { > - struct die_args *die = (struct die_args *)args; > + struct die_args *die = args; > struct pt_regs *regs = die->regs; > > /* Don't notify Hyper-V if the die event is other than oops */