summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/histb-rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/hw_random/histb-rng.c')
-rw-r--r--drivers/char/hw_random/histb-rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/histb-rng.c b/drivers/char/hw_random/histb-rng.c
index f652e1135e4b..1b91e88cc4c0 100644
--- a/drivers/char/hw_random/histb-rng.c
+++ b/drivers/char/hw_random/histb-rng.c
@@ -89,7 +89,7 @@ depth_show(struct device *dev, struct device_attribute *attr, char *buf)
struct histb_rng_priv *priv = dev_get_drvdata(dev);
void __iomem *base = priv->base;
- return sprintf(buf, "%d\n", histb_rng_get_depth(base));
+ return sprintf(buf, "%u\n", histb_rng_get_depth(base));
}
static ssize_t