greybus: loopback_test: null terminate the dict structure
authorGreg Kroah-Hartman <gregkh@google.com>
Tue, 15 Dec 2015 21:57:22 +0000 (13:57 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 18 Dec 2015 02:17:07 +0000 (18:17 -0800)
commitd5bc9607f749a241b2491f8f8b07986ba7655350
treeb3c16a0326fc28affefd156ff8886ae370d75539
parent6bfff1dcb2766ebef60a288601ff4cccbb1f6e54
greybus: loopback_test: null terminate the dict structure

This lets us test for any number of entries, no need to do an
ARRAY_SIZE-type comparison.  This fixes a build warning of comparing
signed/unsigned values.)

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/tools/loopback_test.c