Skip to content

Commit

Permalink
crypto: hisilicon - add missing single_release
Browse files Browse the repository at this point in the history
Fix to add missing single_release in qm_regs_fops.

Fixes: 263c995 ("crypto: hisilicon - add queue management driver for HiSilicon QM module")
Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Zhou Wang authored and Herbert Xu committed Aug 15, 2019
1 parent 5c08619 commit 902f0ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/crypto/hisilicon/qm.c
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,7 @@ static const struct file_operations qm_regs_fops = {
.owner = THIS_MODULE,
.open = qm_regs_open,
.read = seq_read,
.release = single_release,
};

static int qm_create_debugfs_file(struct hisi_qm *qm, enum qm_debug_file index)
Expand Down

0 comments on commit 902f0ba

Please sign in to comment.