greybus: svc: Fix build warning on 64bit systems
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 23 Jul 2015 05:00:47 +0000 (10:30 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 23 Jul 2015 19:51:38 +0000 (12:51 -0700)
commit155b9f175e2c4b36bf433a1b58e90319ea890de8
tree505eb345eb2791b50d274d1111045ff19cb0fa88
parent4e2b1e46abf4eef013ab7297a215e21d3c22004e
greybus: svc: Fix build warning on 64bit systems

Fix below warnings that only generate for a 64 bit system:

greybus/svc.c:202:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
   dev_err(dev, "%s: Illegal size of hello request (%d %d)\n",
                ^
greybus/svc.c:202:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]

Fixes: 9cbe73e0cf45 ("svc: Implement SVC requests")
Reported-by: Greg KH <gregkh@google.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/svc.c