On Fri, 30 Jun 2017 17:51:30 +0100
Ferruh Yigit <ferruh.yi...@intel.com> wrote:

>  #define UNCI_DEVICE "unci"
>  
> +#define UNCI_NL_GRP 31
> +
> +#define UNCI_NL_MSG_LEN 500
> +struct unci_nl_msg {
> +     uint32_t cmd_id;
> +     uint8_t port_id;
> +     uint32_t flag;
> +     uint8_t input_buffer[UNCI_NL_MSG_LEN];
> +     uint8_t output_buffer[UNCI_NL_MSG_LEN];
> +     size_t input_buffer_len;
> +     size_t output_buffer_len;
> +     int err;
> +};
> +
>  enum {
>       IFLA_UNCI_UNSPEC,

Kernel code should not use uint32_t or uint8_t.
Stick to __u32 and __u8

Reply via email to