Skip to content

Commit

Permalink
fix type of returned value
Browse files Browse the repository at this point in the history
The function is declared as unsigned int so we return an
unsigned int as well

Signed-off-by: Cristian Stoica <[email protected]>
  • Loading branch information
Cristian Stoica committed Oct 4, 2017
1 parent 81ba092 commit b633268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ cryptodev_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg_)
static unsigned int cryptodev_poll(struct file *file, poll_table *wait)
{
struct crypt_priv *pcr = file->private_data;
int ret = 0;
unsigned int ret = 0;

poll_wait(file, &pcr->user_waiter, wait);

Expand Down

0 comments on commit b633268

Please sign in to comment.