Merge tag 'devicetree-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / crypto / af_alg.c
index b053179e0bc532e019b249eb0b96ba76fc3bb103..17eb09d222ff4e865ccd3c8766d54aad5bfaf34f 100644 (file)
@@ -1071,7 +1071,7 @@ __poll_t af_alg_poll(struct file *file, struct socket *sock,
        struct af_alg_ctx *ctx = ask->private;
        __poll_t mask;
 
-       sock_poll_wait(file, wait);
+       sock_poll_wait(file, sock, wait);
        mask = 0;
 
        if (!ctx->more || ctx->used)