lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220629061227.3960-1-chuanjian@nfschina.com>
Date:   Wed, 29 Jun 2022 14:12:27 +0800
From:   Dong Chuanjian <chuanjian@...china.com>
To:     daniel.lezcano@...aro.org, tglx@...utronix.de
Cc:     linux-kernel@...r.kernel.org, kernel@...china.com,
        Dong Chuanjian <chuanjian@...china.com>
Subject: [PATCH] driver: remove unnecessary void* conversions..

remove unnecessary void* type casting.

Signed-off-by: Dong Chuanjian <chuanjian@...china.com>
---
 drivers/clocksource/timer-ti-dm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c
index 3e52c5226c4d..5d89629507b7 100644
--- a/drivers/clocksource/timer-ti-dm.c
+++ b/drivers/clocksource/timer-ti-dm.c
@@ -299,7 +299,7 @@ static struct omap_dm_timer *_omap_dm_timer_request(int req_type, void *data)
 		cap = *(u32 *)data;
 		break;
 	case REQUEST_BY_NODE:
-		np = (struct device_node *)data;
+		np = data;
 		break;
 	default:
 		/* REQUEST_ANY */
-- 
2.18.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ