Skip to content

Commit ca773a7

Browse files
gerd-rauschjfvogel
authored andcommitted
net/rds: Fix format string in alloc_ordered_workqueue
This was an oversight while porting a cherry-pick from UEK5: "atomic_read" returns "int" and not "long". Fix the format string accordingly. Orabug: 33590097 Fixes: cdb9a9371ed0 ("net/rds: Give each connection its own workqueue") Signed-off-by: Gerd Rausch <[email protected]> Reviewed-by: William Kucharski <[email protected]>
1 parent 36eee97 commit ca773a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/rds/connection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ static struct rds_connection *__rds_conn_create(struct net *net,
339339
__rds_conn_path_init(conn, cp, is_outgoing);
340340
cp->cp_index = i;
341341

342-
cp->cp_wq = alloc_ordered_workqueue("krds_cp_wq#%lu/%d", 0,
342+
cp->cp_wq = alloc_ordered_workqueue("krds_cp_wq#%d/%d", 0,
343343
atomic_read(&conn->c_trans->t_conn_count), i);
344344
if (!cp->cp_wq) {
345345
while (--i >= 0) {

0 commit comments

Comments
 (0)