commit | b873c2f34ecd4a5a69b41b852cbc365694541c5f | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jirislaby@gmail.com> | Wed Sep 23 15:57:31 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Sep 24 07:21:05 2009 -0700 |
tree | 01daaa2aadfa8e88206129ee13d363d009df5a51 | |
parent | 3886de938cc23d5208a34064d8363d6d7b54b461 [diff] |
memstick: move dev_dbg id_reg.if_mode might be unitialized when (*mrq)->error is nonzero. move dev_dbg() inside the if so that we are sure we can use id_reg values. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Alex Dubov <oakad@yahoo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>