diff options
author | Bartosz Golaszewski <bartekgola@gmail.com> | 2016-06-23 17:19:50 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-06-24 03:58:43 +0200 |
commit | 59f81976249a85cf02bd73c2395f018033069466 (patch) | |
tree | 85cefceec2a7edea58ebba3d6f2ea86d489e8685 /shell/msh_test/msh-parsing/noeol.tests | |
parent | 4d5acd2d4264d0a754d3d11c94825fd69d0c7837 (diff) | |
download | busybox-59f81976249a85cf02bd73c2395f018033069466.tar.gz |
i2cdump: don't use common_bufsiz1
Commit e6a2f4cc changed the way common_bufsiz1 works. Now it needs to
be initialized before using, but i2cdump wasn't updated by said patch.
Since the fact that we're using common_bufsiz1 here isn't obvious (no
G_INIT() macro, no other global variables), drop it and simply
allocate the integer array required for block reads on the stack.
Tested with i2c block read on a Lenovo Thinkpad laptop.
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/msh_test/msh-parsing/noeol.tests')
0 files changed, 0 insertions, 0 deletions