Commit 3dd0af86 authored by Bogicevic Sasa's avatar Bogicevic Sasa Committed by Greg Kroah-Hartman

drivers:staging:fwserial Fix No space is necessary after a cast

This fixes all "No space is necessary after a cast" messages
Signed-off-by: default avatarBogicevic Sasa <brutallesale@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a6fccdb5
...@@ -1464,9 +1464,9 @@ static void fwtty_debugfs_show_peer(struct seq_file *m, struct fwtty_peer *peer) ...@@ -1464,9 +1464,9 @@ static void fwtty_debugfs_show_peer(struct seq_file *m, struct fwtty_peer *peer)
seq_printf(m, " %s:", dev_name(&peer->unit->device)); seq_printf(m, " %s:", dev_name(&peer->unit->device));
seq_printf(m, " node:%04x gen:%d", peer->node_id, generation); seq_printf(m, " node:%04x gen:%d", peer->node_id, generation);
seq_printf(m, " sp:%d max:%d guid:%016llx", peer->speed, seq_printf(m, " sp:%d max:%d guid:%016llx", peer->speed,
peer->max_payload, (unsigned long long) peer->guid); peer->max_payload, (unsigned long long)peer->guid);
seq_printf(m, " mgmt:%012llx", (unsigned long long) peer->mgmt_addr); seq_printf(m, " mgmt:%012llx", (unsigned long long)peer->mgmt_addr);
seq_printf(m, " addr:%012llx", (unsigned long long) peer->status_addr); seq_printf(m, " addr:%012llx", (unsigned long long)peer->status_addr);
seq_putc(m, '\n'); seq_putc(m, '\n');
} }
...@@ -1513,7 +1513,7 @@ static int fwtty_debugfs_peers_show(struct seq_file *m, void *v) ...@@ -1513,7 +1513,7 @@ static int fwtty_debugfs_peers_show(struct seq_file *m, void *v)
rcu_read_lock(); rcu_read_lock();
seq_printf(m, "card: %s guid: %016llx\n", seq_printf(m, "card: %s guid: %016llx\n",
dev_name(serial->card->device), dev_name(serial->card->device),
(unsigned long long) serial->card->guid); (unsigned long long)serial->card->guid);
list_for_each_entry_rcu(peer, &serial->peer_list, list) list_for_each_entry_rcu(peer, &serial->peer_list, list)
fwtty_debugfs_show_peer(m, peer); fwtty_debugfs_show_peer(m, peer);
rcu_read_unlock(); rcu_read_unlock();
...@@ -1985,7 +1985,7 @@ static struct fwtty_peer *__fwserial_peer_by_node_id(struct fw_card *card, ...@@ -1985,7 +1985,7 @@ static struct fwtty_peer *__fwserial_peer_by_node_id(struct fw_card *card,
* been probed for any unit devices... * been probed for any unit devices...
*/ */
fwtty_err(card, "unknown card (guid %016llx)\n", fwtty_err(card, "unknown card (guid %016llx)\n",
(unsigned long long) card->guid); (unsigned long long)card->guid);
return NULL; return NULL;
} }
...@@ -2015,7 +2015,7 @@ static void __dump_peer_list(struct fw_card *card) ...@@ -2015,7 +2015,7 @@ static void __dump_peer_list(struct fw_card *card)
smp_rmb(); smp_rmb();
fwtty_dbg(card, "peer(%d:%x) guid: %016llx\n", fwtty_dbg(card, "peer(%d:%x) guid: %016llx\n",
g, peer->node_id, (unsigned long long) peer->guid); g, peer->node_id, (unsigned long long)peer->guid);
} }
} }
#else #else
...@@ -2312,7 +2312,7 @@ static int fwserial_create(struct fw_unit *unit) ...@@ -2312,7 +2312,7 @@ static int fwserial_create(struct fw_unit *unit)
list_add_rcu(&serial->list, &fwserial_list); list_add_rcu(&serial->list, &fwserial_list);
fwtty_notice(&unit, "TTY over FireWire on device %s (guid %016llx)\n", fwtty_notice(&unit, "TTY over FireWire on device %s (guid %016llx)\n",
dev_name(card->device), (unsigned long long) card->guid); dev_name(card->device), (unsigned long long)card->guid);
err = fwserial_add_peer(serial, unit); err = fwserial_add_peer(serial, unit);
if (!err) if (!err)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment