aboutsummaryrefslogtreecommitdiff
path: root/net/ipc_router/ipc_router_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipc_router/ipc_router_socket.c')
-rw-r--r--net/ipc_router/ipc_router_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipc_router/ipc_router_socket.c b/net/ipc_router/ipc_router_socket.c
index 979b4832850..ab1b83f1f04 100644
--- a/net/ipc_router/ipc_router_socket.c
+++ b/net/ipc_router/ipc_router_socket.c
@@ -489,7 +489,7 @@ static int msm_ipc_router_ioctl(struct socket *sock,
if (server_arg.num_entries_in_array) {
if (server_arg.num_entries_in_array >
(SIZE_MAX / sizeof(*srv_info))) {
- pr_err("%s: Integer Overflow %d * %d\n",
+ pr_err("%s: Integer Overflow %zu * %d\n",
__func__, sizeof(*srv_info),
server_arg.num_entries_in_array);
ret = -EINVAL;