OSDN Git Service

greybus: bundle: check for duplicate bundle ids
authorAlex Elder <elder@linaro.org>
Tue, 9 Jun 2015 22:42:57 +0000 (17:42 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 10 Jun 2015 17:38:23 +0000 (10:38 -0700)
commit8267616b3ef73b22c9ed5b87905c13fc332fe507
tree66e3b74aa5492122ac5d4bcdad355cb9f4be0d01
parentc27a253fc0481b46759082c72d196777ea459a6e
greybus: bundle: check for duplicate bundle ids

Check at bundle creation time to ensure we're not creating a bundle
with an id that's the same as one that's already been created.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/bundle.c