ANDROID: goldfish_sync: 32 max cmds to save stack
authorLingfeng Yang <lfy@google.com>
Thu, 9 Feb 2017 15:43:47 +0000 (07:43 -0800)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
We never use the 64 anyway.

Should fix compile warning.

Change-Id: I384155cc24e0a259d7d3898f310fc33154991311
Signed-off-by: Lingfeng Yang <lfy@google.com>
drivers/staging/goldfish/goldfish_sync_timeline.c

index 0dac94f5accd66da9be98fd9e6f80c1f23ef511c..5bef4c6c02838a42911d8142473fd965df1a32f4 100644 (file)
@@ -127,7 +127,7 @@ struct goldfish_sync_guestcmd {
        uint64_t guest_timeline_handle;
 };
 
-#define GOLDFISH_SYNC_MAX_CMDS 64
+#define GOLDFISH_SYNC_MAX_CMDS 32
 
 struct goldfish_sync_state {
        char __iomem *reg_base;