]> git.baikalelectronics.ru Git - kernel.git/commit
platform: goldfish: pipe: Fail compilation if structs are too large
authorRoman Kiryanov <rkir@google.com>
Mon, 27 Aug 2018 18:23:01 +0000 (11:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2018 13:31:30 +0000 (15:31 +0200)
commitf25dd3371f15c5c1fc721285c966b97255a0edb9
treed16fbe2b29db1edb0f34979cba67d0088b0569a8
parenta9aa8a4bf5521438bbaa0fe602577ebe71766963
platform: goldfish: pipe: Fail compilation if structs are too large

Since the driver provides no workaround prevent in cases if structs do
no fit into a memory page, it is better to fail complation to find about
the issue earlt instead of returning errors at runtime.

Signed-off-by: Roman Kiryanov <rkir@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/goldfish/goldfish_pipe.c