Commit 89b17c40 authored by Federico Vaga's avatar Federico Vaga

kernel: make compiler happy!

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@vaga.pv.it>
parent 6d8377ab
......@@ -557,7 +557,7 @@ static ssize_t svec_afpga_lock_store(struct device *dev,
{
struct svec_dev *svec = to_svec_dev(dev);
if (strncmp(buf, "unlock" , min(6, count)) != 0)
if (strncmp(buf, "unlock" , min(6, (int)count)) != 0)
return -EINVAL;
spin_lock(&svec->lock);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment