]> git.baikalelectronics.ru Git - kernel.git/commit
IB/rxe: Enable type checking on SKB_TO_PKT() and PKT_TO_SKB() arguments
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 10 Jan 2017 19:15:45 +0000 (11:15 -0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 10 Jan 2017 21:52:47 +0000 (16:52 -0500)
commitf88e98aaf353acacbcf6ced7e63598d2c4c5c4b2
tree249ed8303b8134c591c75fe53ac8d29609464697
parent1c156865315e3d5d663548c7a230e1cc04d4214f
IB/rxe: Enable type checking on SKB_TO_PKT() and PKT_TO_SKB() arguments

Let the compiler check the type of the arguments passed to SKB_TO_PKT()
and PKT_TO_SKB().

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Andrew Boyer <andrew.boyer@dell.com>
Cc: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_hdr.h