From: Sławomir Demeszko Date: Tue, 5 May 2015 15:49:54 +0000 (+0200) Subject: staging: gdm724x: Correction of variable usage after applying ALIGN() X-Git-Tag: omap-for-v4.2/soc-pt1-take2~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=892c89d5d7ffd1bb794fe54d86c0eef18d215fab;p=pandora-kernel.git staging: gdm724x: Correction of variable usage after applying ALIGN() Fix regression introduced by commit <29ef8a53542a>. After it writing AT commands to /dev/GCT-ATM0 is unsuccessful (no echo, no response) and dmesg show "gdmtty: invalid payload : 1 16 f011". Before that commit value of dummy_cnt was only a padding size. After using ALIGN() this value is increased by its first argument. So the following usage of this variable needs correction. Signed-off-by: Sławomir Demeszko Cc: stable # 3.14+ Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed