.. | .. |
---|
46 | 46 | if (peer->timer_handshake_attempts > MAX_TIMER_HANDSHAKES) { |
---|
47 | 47 | pr_debug("%s: Handshake for peer %llu (%pISpfsc) did not complete after %d attempts, giving up\n", |
---|
48 | 48 | peer->device->dev->name, peer->internal_id, |
---|
49 | | - &peer->endpoint.addr, MAX_TIMER_HANDSHAKES + 2); |
---|
| 49 | + &peer->endpoint.addr, (int)MAX_TIMER_HANDSHAKES + 2); |
---|
50 | 50 | |
---|
51 | 51 | del_timer(&peer->timer_send_keepalive); |
---|
52 | 52 | /* We drop all packets without a keypair and don't try again, |
---|
.. | .. |
---|
64 | 64 | ++peer->timer_handshake_attempts; |
---|
65 | 65 | pr_debug("%s: Handshake for peer %llu (%pISpfsc) did not complete after %d seconds, retrying (try %d)\n", |
---|
66 | 66 | peer->device->dev->name, peer->internal_id, |
---|
67 | | - &peer->endpoint.addr, REKEY_TIMEOUT, |
---|
| 67 | + &peer->endpoint.addr, (int)REKEY_TIMEOUT, |
---|
68 | 68 | peer->timer_handshake_attempts + 1); |
---|
69 | 69 | |
---|
70 | 70 | /* We clear the endpoint address src address, in case this is |
---|
.. | .. |
---|
94 | 94 | |
---|
95 | 95 | pr_debug("%s: Retrying handshake with peer %llu (%pISpfsc) because we stopped hearing back after %d seconds\n", |
---|
96 | 96 | peer->device->dev->name, peer->internal_id, |
---|
97 | | - &peer->endpoint.addr, KEEPALIVE_TIMEOUT + REKEY_TIMEOUT); |
---|
| 97 | + &peer->endpoint.addr, (int)(KEEPALIVE_TIMEOUT + REKEY_TIMEOUT)); |
---|
98 | 98 | /* We clear the endpoint address src address, in case this is the cause |
---|
99 | 99 | * of trouble. |
---|
100 | 100 | */ |
---|
.. | .. |
---|
126 | 126 | |
---|
127 | 127 | pr_debug("%s: Zeroing out all keys for peer %llu (%pISpfsc), since we haven't received a new one in %d seconds\n", |
---|
128 | 128 | peer->device->dev->name, peer->internal_id, |
---|
129 | | - &peer->endpoint.addr, REJECT_AFTER_TIME * 3); |
---|
| 129 | + &peer->endpoint.addr, (int)REJECT_AFTER_TIME * 3); |
---|
130 | 130 | wg_noise_handshake_clear(&peer->handshake); |
---|
131 | 131 | wg_noise_keypairs_clear(&peer->keypairs); |
---|
132 | 132 | wg_peer_put(peer); |
---|