diff options
author | Shahar Lev <shahar@wizery.com> | 2011-05-23 10:36:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-07 19:01:18 +0200 |
commit | 9d031d94da453077bbc6108b7822fc751ac85299 (patch) | |
tree | 35c58ae8741e5cb79d422b05eb9ce14dfeac3568 /drivers/misc/pti.c | |
parent | drivers/base/platform.c: don't mark platform_device_register_resndata() as __... (diff) | |
download | linux-9d031d94da453077bbc6108b7822fc751ac85299.tar.xz linux-9d031d94da453077bbc6108b7822fc751ac85299.zip |
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 <shahar@wizery.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/misc/pti.c')
0 files changed, 0 insertions, 0 deletions