[PATCH 1/2] afs: Move UUID struct to linux/uuid.h

David Howells dhowells at redhat.com
Fri Jan 13 02:28:10 PST 2017


kbuild test robot <lkp at intel.com> wrote:

>    fs/afs/cmservice.c: In function 'afs_deliver_cb_init_call_back_state3':
> >> fs/afs/cmservice.c:365:34: error: invalid application of 'sizeof' to incomplete type 'struct uuid_v1'
>       call->request = kmalloc(sizeof(struct uuid_v1), GFP_KERNEL);
>                                      ^~~~~~

Ah...  Missing #include of linux/uuid.h.  Under some circumstances it is
included indirectly.

David



More information about the linux-afs mailing list