Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1558194

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

From David Howells <dhowells@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] afs: Move UUID struct to linux/uuid.h
Date 2017-01-13 11:30 +0100
Message-ID <sZ7ho-876-19@gated-at.bofh.it> (permalink)
References <sZ6lk-7yb-23@gated-at.bofh.it>
Organization Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 1/2] afs: Move UUID struct to linux/uuid.h David Howells <dhowells@redhat.com> - 2017-01-13 11:30 +0100

csiph-web