Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp322428pxa; Wed, 19 Aug 2020 02:13:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBZMNjE3qm1J7bcJUsOLR61Ec72mxQvr6MlYhvI/7HffsMyciTXQE4+CuM6q8WzJ46TV83 X-Received: by 2002:a17:906:eb90:: with SMTP id mh16mr23521002ejb.10.1597828386149; Wed, 19 Aug 2020 02:13:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597828386; cv=none; d=google.com; s=arc-20160816; b=tj8Q0fLHqB5Fmu5mK9xYbKjiFguFOz9SbfCPozFb7RktoHqVBmjpzriqSkSXX2SbOZ n9n62RRWVR+Sj8DRepYjHD7c/mWcOy87zV49E0kYYDq44rtNbNvPh00ekEDJ1Xjo+gDb Q2mecwnjh4apSeAvu1a1Qu55IL7jVVXcSlXydB9s9Lh3DURHgCmAYeGfIZbW29kjk0Zz 5U+mKM5ZKvsfm0sq2adUMIX5LXo3+n1JhbJNJtJ6D+d8BgSouml2IhuOlpFUPybfH9cM HjEyx1600ExBR5yC6J2ep8nIzX4h3XenKtfAczgqQUuBRyRrnWx5PaFt67bnOKgmMElW e6jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=aJbBiqqEcgkxYh/T/PAcF1pQQBq2TFSlGmE/iQkN4AU=; b=t4WgHg44jDWnI3bd4oSuRdrkUxBMVFTpfYQl8vmP9T/HSCGdBp0Htw5jRxdx+YPTjU H9JXVAyXrVrPnfKDfmlo4Xo0NLkvqD3REs/fqsyRBXANgC+zDsaUfEM213IRCd4Domdw I3CBY0iWCyqW/lLVh/cbB63ZnT0OHl+xyphg6NbXpvdUeBupo4Q0/PChO7cgsikOvwHs tCUucOBCvbsMG0lJ5sTsthk93TTD5FcBSR5X8fPkWub1qQ2BuJRM6mzkt/NdEaD3ufiU pCMr4wg4hEWjj0FMvtqXIKQh1vHWOFgskwVou2LZSsSI/awUfARGlapcX4h+/L+iDk5X v8NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@aepfle.de header.s=strato-dkim-0002 header.b=YhDLlpk0; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n1si15097076ejb.57.2020.08.19.02.12.42; Wed, 19 Aug 2020 02:13:06 -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; dkim=fail header.i=@aepfle.de header.s=strato-dkim-0002 header.b=YhDLlpk0; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726998AbgHSJLf (ORCPT + 99 others); Wed, 19 Aug 2020 05:11:35 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.20]:34040 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726630AbgHSJL2 (ORCPT ); Wed, 19 Aug 2020 05:11:28 -0400 X-Greylist: delayed 358 seconds by postgrey-1.27 at vger.kernel.org; Wed, 19 Aug 2020 05:11:27 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1597828286; s=strato-dkim-0002; d=aepfle.de; h=Message-Id:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=aJbBiqqEcgkxYh/T/PAcF1pQQBq2TFSlGmE/iQkN4AU=; b=YhDLlpk0RvsGMyC1bR29eKjke/B6YZbj2YxYyQ6AiGjI/hczq1+izba1UcgbjOykj8 ooWA3i+3TLnYuuGJlwm5U1H/2PKWf4RCymVjbhhGiPGPzVluICqV/gxRv/A4FhXDg2qm GHr55Qt+qsga1i8CLW/1GrJvXE6vgaAnjPQB1HdkHm/h91gpt6uQ+xwGn13LhP/oHa+j oL8TqcZnPzP+oIac+20XXOwg8oxylyOEuN/5e1aIRG8z/XSBoTmrEeScIMiBfM2utbNA e+SktiYlFScZUp4ox+UGTSpebOsEukf8C4Yi4GYPL7BNnFgKAYiWFKBWbC9DHBSCb/Cx jkGw== X-RZG-AUTH: ":P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QXkBR9MXjAuzBW/OdlBZQ4AHSS3mkg" X-RZG-CLASS-ID: mo00 Received: from sender by smtp.strato.de (RZmta 46.10.7 DYNA|AUTH) with ESMTPSA id 60ad29w7J95I0WU (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)) (Client did not present a certificate); Wed, 19 Aug 2020 11:05:18 +0200 (CEST) From: Olaf Hering To: linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Olaf Hering , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu Subject: [PATCH v1] tools: hv: remove cast from hyperv_die_event Date: Wed, 19 Aug 2020 11:05:09 +0200 Message-Id: <20200819090510.28995-1-olaf@aepfle.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No need to cast a void pointer. Signed-off-by: Olaf Hering --- 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 */