diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2013-09-02 03:11:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 08:23:01 -0700 |
commit | e19555ce893f7567c7a72f91dafe6bdb93f0198f (patch) | |
tree | f44fec419a8c3a87c69bbbbd320a146217229859 /drivers/misc | |
parent | d8b29efa27de17dafe516d45204dbb744ccdfa48 (diff) | |
download | talos-obmc-linux-e19555ce893f7567c7a72f91dafe6bdb93f0198f.tar.gz talos-obmc-linux-e19555ce893f7567c7a72f91dafe6bdb93f0198f.zip |
mei: fix format compilation warrning on 32 bit architecture
hbm.c: In function mei_hbm_me_cl_allocate:
hbm.c:52:212: warning: format %zd expects argument of type signed size_t but argument 4 has type long unsigned
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/mei/hbm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mei/hbm.c b/drivers/misc/mei/hbm.c index 95d4dabf82c0..f706fe8a3286 100644 --- a/drivers/misc/mei/hbm.c +++ b/drivers/misc/mei/hbm.c @@ -45,7 +45,7 @@ static void mei_hbm_me_cl_allocate(struct mei_device *dev) kfree(dev->me_clients); dev->me_clients = NULL; - dev_dbg(&dev->pdev->dev, "memory allocation for ME clients size=%zd.\n", + dev_dbg(&dev->pdev->dev, "memory allocation for ME clients size=%ld.\n", dev->me_clients_num * sizeof(struct mei_me_client)); /* allocate storage for ME clients representation */ clients = kcalloc(dev->me_clients_num, |