mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
staging: vme_user: fix check unnecessary space after a cast in vme_fake.c
Fixed all CHECK: No space is necessary after a cast as reported by checkpatch to adhere to the Linux kernel coding-style guidelines. Signed-off-by: Alexon Oliveira <alexondunkan@gmail.com> Link: https://lore.kernel.org/r/603976b29ad4d9a0e4cbd8452ff674ec70a227a8.1693164540.git.alexondunkan@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
571fa9b513
commit
3abba9a46c
|
|
@ -95,7 +95,7 @@ static void fake_VIRQ_tasklet(unsigned long data)
|
|||
struct vme_bridge *fake_bridge;
|
||||
struct fake_driver *bridge;
|
||||
|
||||
fake_bridge = (struct vme_bridge *) data;
|
||||
fake_bridge = (struct vme_bridge *)data;
|
||||
bridge = fake_bridge->driver_priv;
|
||||
|
||||
vme_irq_handler(fake_bridge, bridge->int_level, bridge->int_statid);
|
||||
|
|
@ -1092,7 +1092,7 @@ static int __init fake_init(void)
|
|||
mutex_init(&fake_device->vme_int);
|
||||
mutex_init(&fake_bridge->irq_mtx);
|
||||
tasklet_init(&fake_device->int_tasklet, fake_VIRQ_tasklet,
|
||||
(unsigned long) fake_bridge);
|
||||
(unsigned long)fake_bridge);
|
||||
|
||||
strcpy(fake_bridge->name, driver_name);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user