From: Luis Ortega Date: Mon, 27 Jan 2014 20:28:33 +0000 (-0800) Subject: Input: zforce - reduce stack memory allocated to frames X-Git-Tag: v3.15-rc1~102^2^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d333b6062f1414622d1fe37314fa2ec9e3df402d;p=pandora-kernel.git Input: zforce - reduce stack memory allocated to frames A frame is a u8 array with the following structure: [PAYLOAD_HEADER, PAYLOAD_LENGTH, ...PAYLOAD_BODY...] PAYLOAD_BODY can be at most 255 bytes long, as it's size is represented by PAYLOAD_LENGTH. Therefore we can reduce the stack memory allocated to payload_buffer[] roughly by half, from 512 to 257 bytes. Signed-off-by: Luis Ortega Acked-by: Heiko Stuebner Tested-by: Heiko Stuebner - bq Cervantes (imx6sl) Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed