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)
commitd23069a5a53b652e3802be039830b69dd17e1a3d
treed16fbe2b29db1edb0f34979cba67d0088b0569a8
parent84ae527aa58c0f790233fec287d3a060a7501baa
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