diff --git a/include/linux/can/bcm.h b/include/linux/can/bcm.h
index 7ade33a0ff03f0308f3ada2ac61995e0409ba809..7f293273c444a66101b7b66f9394c3c1c16b6bce 100644
--- a/include/linux/can/bcm.h
+++ b/include/linux/can/bcm.h
@@ -26,12 +26,12 @@
  * @frames:    array of CAN frames.
  */
 struct bcm_msg_head {
-	int opcode;
-	int flags;
-	int count;
+	__u32 opcode;
+	__u32 flags;
+	__u32 count;
 	struct timeval ival1, ival2;
 	canid_t can_id;
-	int nframes;
+	__u32 nframes;
 	struct can_frame frames[0];
 };