Skip to content

Commit

Permalink
crypto: ixp4xx - Fix qmgr_request_queue build failure
Browse files Browse the repository at this point in the history
There is another user of IXP4xx queue manager, fix it.

Signed-off-by: Krzysztof Hałasa <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Krzysztof Hałasa authored and herbertx committed Mar 4, 2009
1 parent a760a66 commit 1777f1a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/crypto/ixp4xx_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,10 +457,12 @@ static int init_ixp_crypto(void)
if (!ctx_pool) {
goto err;
}
ret = qmgr_request_queue(SEND_QID, NPE_QLEN_TOTAL, 0, 0);
ret = qmgr_request_queue(SEND_QID, NPE_QLEN_TOTAL, 0, 0,
"ixp_crypto:out", NULL);
if (ret)
goto err;
ret = qmgr_request_queue(RECV_QID, NPE_QLEN, 0, 0);
ret = qmgr_request_queue(RECV_QID, NPE_QLEN, 0, 0,
"ixp_crypto:in", NULL);
if (ret) {
qmgr_release_queue(SEND_QID);
goto err;
Expand Down

0 comments on commit 1777f1a

Please sign in to comment.