Commit 9bb3fbbf authored by Hui Tang's avatar Hui Tang Committed by Herbert Xu

crypto: hisilicon/hpre - delete redundant '\n'

It has newline already by sysfs, so delete redundant '\n'
Signed-off-by: default avatarHui Tang <tanghui20@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 09fd266f
...@@ -752,9 +752,9 @@ static int hpre_qm_init(struct hisi_qm *qm, struct pci_dev *pdev) ...@@ -752,9 +752,9 @@ static int hpre_qm_init(struct hisi_qm *qm, struct pci_dev *pdev)
} }
if (pdev->revision >= QM_HW_V3) if (pdev->revision >= QM_HW_V3)
qm->algs = "rsa\ndh\necdh\nx25519\nx448\necdsa\nsm2\n"; qm->algs = "rsa\ndh\necdh\nx25519\nx448\necdsa\nsm2";
else else
qm->algs = "rsa\ndh\n"; qm->algs = "rsa\ndh";
qm->mode = uacce_mode; qm->mode = uacce_mode;
qm->pdev = pdev; qm->pdev = pdev;
qm->ver = pdev->revision; qm->ver = pdev->revision;
......
...@@ -744,7 +744,7 @@ static int sec_qm_init(struct hisi_qm *qm, struct pci_dev *pdev) ...@@ -744,7 +744,7 @@ static int sec_qm_init(struct hisi_qm *qm, struct pci_dev *pdev)
qm->pdev = pdev; qm->pdev = pdev;
qm->ver = pdev->revision; qm->ver = pdev->revision;
qm->algs = "cipher\ndigest\naead\n"; qm->algs = "cipher\ndigest\naead";
qm->mode = uacce_mode; qm->mode = uacce_mode;
qm->sqe_size = SEC_SQE_SIZE; qm->sqe_size = SEC_SQE_SIZE;
qm->dev_name = sec_name; qm->dev_name = sec_name;
......
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