Re: [PATCH] block: skd: fix incorrect linux/slab_def.h inclusion

2018-02-02 Thread Jens Axboe
On 2/2/18 8:03 AM, Arnd Bergmann wrote: > skd includes slab_def.h to get access to the slab cache object size. > However, including this header breaks when we use SLUB or SLOB instead of > the SLAB allocator, since the structure layout is completely different, > as shown by this warning when we

[PATCH] block: skd: fix incorrect linux/slab_def.h inclusion

2018-02-02 Thread Arnd Bergmann
skd includes slab_def.h to get access to the slab cache object size. However, including this header breaks when we use SLUB or SLOB instead of the SLAB allocator, since the structure layout is completely different, as shown by this warning when we build this driver in one of the invalid