dissect: use built_in_ident() instead of MK_IDENT()
commitcd33f157c25d0abbcb68896ae35e23b76d20cbd3
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Mon, 19 Jun 2017 20:59:28 +0000 (19 22:59 +0200)
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Wed, 21 Jun 2017 09:28:40 +0000 (21 11:28 +0200)
treed18f14c74f85aef8dd6dded5771d0b4947c801fa
parent9e34da46b99e1e43ed40ec019cce8c06c22eb3fa
dissect: use built_in_ident() instead of MK_IDENT()

The motivation for this patch was to allow sparse to be
compiled with clang which doesn't like static initialization
of flexible array members which is used in MK_IDENT().

But also, there is no enough good justifications here for not
creating the identifiers the normal way with built_in_ident().

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
dissect.h
test-dissect.c