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

From: David Howells
Date: Fri Jan 13 2017 - 05:28:35 EST


kbuild test robot <lkp@xxxxxxxxx> 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