On Thu, Mar 15 2018, Randy Dunlap wrote:
> On 03/14/2018 04:24 PM, a...@linux-foundation.org wrote:
>> The mm-of-the-moment snapshot 2018-03-14-16-24 has been uploaded to
>>
>>http://www.ozlabs.org/~akpm/mmotm/
>
> (not from the mmotm patches, but in its linux-next.patch)
>
> CONFIG_LUSTRE_FS=y
> # CONFIG_LUSTRE_DEBUG_EXPENSIVE_CHECK is not set
>
>
> In file included from
> ../drivers/staging/lustre/include/linux/libcfs/libcfs.h:42:0,
> from
> ../drivers/staging/lustre/lustre/obdclass/lu_object.c:44:
> ../drivers/staging/lustre/lustre/obdclass/lu_object.c: In function
> 'lu_context_key_degister':
> ../drivers/staging/lustre/lustre/obdclass/lu_object.c:1410:51: error:
> dereferencing pointer to incomplete type
> __func__, key->lct_owner ? key->lct_owner->name : "",
>^
Thanks for the report.
Arnd Bergmann posted a patch to fix this on Tuesday
Message-Id: <20180313130425.3975930-1-a...@arndb.de>
http://lkml.kernel.org/r/<20180313130425.3975930-1-a...@arndb.de>
so the error should disappear soon.
Thanks,
NeilBrown
> ../drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h:123:41: note:
> in definition of macro '__CDEBUG'
>libcfs_debug_msg(&msgdata, format, ## __VA_ARGS__); \
> ^
> ../drivers/staging/lustre/lustre/obdclass/lu_object.c:1409:3: note: in
> expansion of macro 'CDEBUG'
>CDEBUG(D_INFO, "%s: \"%s\" %p, %d\n",
>^
> ../drivers/staging/lustre/lustre/obdclass/lu_object.c: In function
> 'lu_context_key_quiesce':
> ../drivers/staging/lustre/lustre/obdclass/lu_object.c:1550:42: error:
> dereferencing pointer to incomplete type
>key->lct_owner ? key->lct_owner->name : "",
> ^
> ../drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h:123:41: note:
> in definition of macro '__CDEBUG'
>libcfs_debug_msg(&msgdata, format, ## __VA_ARGS__); \
> ^
> ../drivers/staging/lustre/lustre/obdclass/lu_object.c:1548:4: note: in
> expansion of macro 'CDEBUG'
> CDEBUG(D_INFO, "%s: \"%s\" %p, %d (%d)\n",
> ^
>
>
>
> --
> ~Randy
signature.asc
Description: PGP signature