Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: ion: Fix a coding style issue

This patch fixes the alignment of an allocation flag block comment
and moves the comments before each #define.

Signed-off-by: Antti Keränen <detegr@gmail.com>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Antti Keränen and committed by
Greg Kroah-Hartman
23f38938 7a4abee9

+12 -12
+12 -12
drivers/staging/android/uapi/ion.h
··· 52 52 * allocation flags - the lower 16 bits are used by core ion, the upper 16 53 53 * bits are reserved for use by the heaps themselves. 54 54 */ 55 - #define ION_FLAG_CACHED 1 /* 56 - * mappings of this buffer should be 57 - * cached, ion will do cache 58 - * maintenance when the buffer is 59 - * mapped for dma 60 - */ 61 - #define ION_FLAG_CACHED_NEEDS_SYNC 2 /* 62 - * mappings of this buffer will created 63 - * at mmap time, if this is set 64 - * caches must be managed 65 - * manually 66 - */ 55 + 56 + /* 57 + * mappings of this buffer should be cached, ion will do cache maintenance 58 + * when the buffer is mapped for dma 59 + */ 60 + #define ION_FLAG_CACHED 1 61 + 62 + /* 63 + * mappings of this buffer will created at mmap time, if this is set 64 + * caches must be managed manually 65 + */ 66 + #define ION_FLAG_CACHED_NEEDS_SYNC 2 67 67 68 68 /** 69 69 * DOC: Ion Userspace API