busybox/miscutils
Bartosz Golaszewski 59f8197624 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>
2016-06-24 03:58:43 +02:00
..
2015-10-25 20:36:03 +01:00
2015-07-13 03:25:46 +02:00
2014-12-10 13:44:27 +01:00
2016-06-24 03:58:43 +02:00
2016-06-19 18:15:33 +02:00
2015-10-11 16:58:18 +02:00
2011-05-30 23:00:47 +02:00
2015-04-02 23:03:46 +02:00
2013-01-15 13:58:01 +01:00
2016-06-20 23:50:26 +02:00
2013-01-15 13:58:01 +01:00
2016-04-03 22:24:51 +02:00
2016-04-03 22:24:51 +02:00
2015-04-02 23:03:46 +02:00