Commit 462ef1e0 authored by Jeremiah Mahler's avatar Jeremiah Mahler Committed by Greg Kroah-Hartman
Browse files

staging: lustre: replace MIN with min_t

Switch from MIN to the built in min_t with the int type.
Signed-off-by: default avatarJeremiah Mahler <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 0c575417
......@@ -1087,7 +1087,7 @@ ksocknal_new_packet (ksock_conn_t *conn, int nob_to_skip)
niov = 0;
do {
nob = MIN (nob_to_skip, sizeof (ksocknal_slop_buffer));
nob = min_t(int, nob_to_skip, sizeof(ksocknal_slop_buffer));
conn->ksnc_rx_iov[niov].iov_base = ksocknal_slop_buffer;
conn->ksnc_rx_iov[niov].iov_len = nob;
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