From: Shahar Lev Date: Mon, 23 May 2011 08:36:11 +0000 (+0300) Subject: drivers:misc: ti-st: fix skipping of change remote baud X-Git-Tag: v3.0-rc6~28^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d031d94da453077bbc6108b7822fc751ac85299;p=pandora-kernel.git drivers:misc: ti-st: fix skipping of change remote baud Before the incrementing of ptr in skip_change_remote_baud, it points to cur_action, but the increment is done by the size of nxt_action instead. This could cause ptr to not point to a bts_action structure, which is harmful for the increment of ptr done in download_firmware. Therefore, the skipping is first done for cur_action. Signed-off-by: Shahar Lev Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed