From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7F88043A57; Sat, 3 Feb 2024 05:14:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1421A42EC7; Sat, 3 Feb 2024 05:13:40 +0100 (CET) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mails.dpdk.org (Postfix) with ESMTP id 4C5FF42E9E for ; Sat, 3 Feb 2024 05:13:33 +0100 (CET) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1d932f6ccfaso22155555ad.1 for ; Fri, 02 Feb 2024 20:13:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1706933612; x=1707538412; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=X8BuX/97kwrOE/xh84p/hVAmDRKQYtjMwbt7oeeaO68=; b=KpxqVNdfuKpligl6k13/KDdgj3VL7i67SYglQ1KQF0mOz7vVeUI4BiaFq4Pv9YHyO/ F64CMXEDMQNxBDTOYQJwQBF+5ATflaGM5omVejOmoaesRMSt8NAn6c3/lIxN9JhUfRXC wXwt9i39yKJPcFwHUjpxq4EZErMjvnvI903NoZKq5HpHOncoguCkjfIt0B6R4q1HQrA5 lmGn+PAxj+SLITQ6UsqPQF8cz9FUnmBzPWpsNVMVkYNmfs/mwBdjcGJgkJ4ho/ZT3VjS Y4VQeXkFB6flqMRCIvazqC62u7Z8Nd9vVxAIrCowLkk1ibReqmF4gt5Gk3MJg54wVJOt hz9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706933612; x=1707538412; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=X8BuX/97kwrOE/xh84p/hVAmDRKQYtjMwbt7oeeaO68=; b=fDKTa/1xufvLljQHe0uy4Bhmmk3pzZ0tPm/bK0LqU1Yi7Ue7n82ZRTBudtOti1wbf9 NQmzYV4QMaH+1LHp8iXePun3vq1HZ6Gh1OGJJNTCjDMTBHhTes+h+TycQMlxaxQPMVW4 7OCrL+97U8BeUTF7Eb3kHKS7JpvBnUDmGsdElkdPDC7g59rUNqjG1zcZCul3ATdIU8AY pHw57mcLhukXzMybPoJcy4Y3gXDd84pBG3HQ163KdtvMN207/eLBbva00qemjXmA93V4 tPI66/yCeENc/+pUsRdFnWTMzqhQcuGcfpQrkquXGUp1lbXPzFAFqV5FhhTJXbd9jPla M2oQ== X-Gm-Message-State: AOJu0YyU888nKOaKD/FMJ7th1WtT6WAm6ZmQxlLqdoRYDcwPfwUgsiUB IHYWOquwCMJQIZfqcWQiGqptok0NcjNTvHfIfaxCHNVL+GEaQizPAML9JObKnt56q4L7Cq03wFe YVJg= X-Google-Smtp-Source: AGHT+IEm/sfvuwKWRxlP72+4uKkjBCCUswZXR1ZhLePt14C8vCF9qiXom0Hy4Aebo9P6VmMvW7cP3w== X-Received: by 2002:a17:902:bf4c:b0:1d7:3067:aab5 with SMTP id u12-20020a170902bf4c00b001d73067aab5mr8929713pls.57.1706933612595; Fri, 02 Feb 2024 20:13:32 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUTr/SKW+juGAejVzbVc31qk66j0ILD/hKvqutOEb9E7kKVHVrm18UODqFERqO37jY+7yn0T+PT6NmxEcGpVXOum0V8rKSEMLS6ouTmuz3wx1zBliUCDgYW1pj3e56gH2UI5mGykTMqE0AVLQ== Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id mf11-20020a170902fc8b00b001d94a3f398esm2361800plb.141.2024.02.02.20.13.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 20:13:32 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Gagandeep Singh , Hemant Agrawal , Akhil Goyal Subject: [PATCH v7 12/19] crypto/caam_jr: use dedicated logtype Date: Fri, 2 Feb 2024 20:11:45 -0800 Message-ID: <20240203041230.285599-13-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240203041230.285599-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20240203041230.285599-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The driver has macro and logtype but not used in a couple places. Fixes: af7c9b5e9ce7 ("crypto/caam_jr: introduce basic driver") Signed-off-by: Stephen Hemminger --- drivers/crypto/caam_jr/caam_jr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/caam_jr/caam_jr.c b/drivers/crypto/caam_jr/caam_jr.c index 9c96fd21a48d..a6c0cdc93135 100644 --- a/drivers/crypto/caam_jr/caam_jr.c +++ b/drivers/crypto/caam_jr/caam_jr.c @@ -2346,7 +2346,7 @@ caam_jr_dev_init(const char *name, rte_cryptodev_pmd_probing_finish(dev); - RTE_LOG(INFO, PMD, "%s cryptodev init\n", dev->data->name); + CAAM_JR_LOG(INFO, "%s cryptodev init", dev->data->name); return 0; @@ -2386,8 +2386,7 @@ cryptodev_caam_jr_probe(struct rte_vdev_device *vdev) ret = of_init(); if (ret) { - RTE_LOG(ERR, PMD, - "of_init failed\n"); + CAAM_JR_LOG(ERR, "of_init failed"); return -EINVAL; } /* if sec device version is not configured */ -- 2.43.0