diff options
author | SÅ‚awomir Demeszko <s.demeszko@wireless-instruments.com> | 2015-05-05 17:49:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-06 08:19:33 -0700 |
commit | b479c8bfa276ffd1ccc23f40bd8c3ccb2412b2e4 (patch) | |
tree | c7d643e275d1a83c71d970fe8573809ca5da4b17 /drivers/target/target_core_pscsi.c | |
parent | afb2cc5681f3d188420f770484cd2d491caec58e (diff) |
staging: gdm724x: Correction of variable usage after applying ALIGN()
commit 892c89d5d7ffd1bb794fe54d86c0eef18d215fab upstream.
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 <s.demeszko@wireless-instruments.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/target/target_core_pscsi.c')
0 files changed, 0 insertions, 0 deletions