Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1684752lqs; Sat, 15 Jun 2024 23:17:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUup1T8xYfJngiWt2FknCV9Gp6jXGQ1szCxZO17XVo7msv7smCLbMPixUey983ROtTQ4rLZ0vVurAswLhxVMMDDc+XRaTLKrxZoFxvaWA== X-Google-Smtp-Source: AGHT+IF1TzDgxKivyXSgh2SrmO4Sv5djyc5eFZEVj3Mo3KoPfhvLp/YaNYCoIBvV0gGSLsYoXMTS X-Received: by 2002:a17:907:d406:b0:a6f:6701:cd5a with SMTP id a640c23a62f3a-a6f6701ce98mr463409766b.44.1718518647963; Sat, 15 Jun 2024 23:17:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718518647; cv=pass; d=google.com; s=arc-20160816; b=XCSHeo6qbBBZUCPpKBHuQTeObLgYxZG9eYZ6nT3YBNmN08EzhjjRXdbXxkbTTC67fj ap8HBRscyr8a3EJbvK+bEiPW35XtQG/10Xkqy/IfvYt7s/yBK3Ds6asDYJhL0eCj+sY1 Lw1bzLTJh9VdxNy857iWvmbr1a2eBDGtzNAq6eG0c7qQKCgX+oRQXLHaZ3tn1oxGk/NJ Aki0ssEWEpKsPqIzJYYA0gWftrT4rXszXECFjQairNxmcoRUiN46skIjmdf3G52qN4++ cZTvc1nLB4S2+J6Sxqo9HE5DjBhHqjsdsIeIepbBqoPOxmgf4PNmnY//dv7W85SwxRAW +f4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=JJBiIeUtBaLvynT/93cCjIOFgX6CDX3j2TJCH2/qi7E=; fh=RB3pGPGzeD0xZF1gQyoMasVoLKJqJKeLOyNAX6aHKHk=; b=UfkMB7MY51kLXfru9UW8qIvyADlVBJSigbr1N/zkZvdsZY8wZmx5D/7XdPLDCbug/2 8GKV4MS6JWs3hCd+f44msxjJ4RxwAxBwoUsuZTwwcrLesZDqHPVjb75vO4sxBYFarTm9 ZP5MNt+PK7kgW+RmI4AixJtEojia+vny0yyk9RJQw+MTtSe7UIt3pyu/NxVskfKlcTli pb599TBoQsV3PosALUPXiT087NR/LdeJaDa0uH3h6sYrcPHZnQdTPMOVgJn2W3HfJsu1 qFkiVywjSsLEUHf7eCowv7veylLlzQV0BcjR61HE1v4ogj9NJBDA2Mh3Mb9GTVNshx7x 19jA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aT2WOcX6; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-crypto+bounces-4951-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4951-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f56df8740si338564666b.636.2024.06.15.23.17.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jun 2024 23:17:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4951-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aT2WOcX6; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-crypto+bounces-4951-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4951-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AE75C1F22E85 for ; Sun, 16 Jun 2024 06:17:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD486178399; Sun, 16 Jun 2024 06:15:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="aT2WOcX6" X-Original-To: linux-crypto@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1BB0169ADA; Sun, 16 Jun 2024 06:15:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718518506; cv=none; b=T+kNyxyHQ2QESbA/E+wKsVyiaHUN+OJGb8txzxVHieTiuCv+3F5A1720iYyDOIQ1NS8/rbGCXuyKHTMBRgRln5SrTRz1ZE80uld9IIhD6nt5kcznjEmHtq5pWyq0XZ+0ubDSBbKEa20PaoryxeenIThdIZFCyzghN1rC8LQJE48= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718518506; c=relaxed/simple; bh=KXEgR5GnqJoxLrzxenosBEsqW3oYDG4krnM+m4NIOnY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:To:CC; b=BfOXNlVlIj+cVX0u01LVycl15k7bVrcgsgbMOL4VrxYYljRwyWiO9eRE9CXc5zMs03TxgApB2R1zbewUV3FAYwBhUvOQ36OOEfAWOQgS8GXshiN4bh534k9WODO4ZUeniMJZEpN8MLKTtbB903vEX+Nl0PMKtVq5Q+fOvLRWs4k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=aT2WOcX6; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45G5QQau025146; Sun, 16 Jun 2024 06:14:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=JJBiIeUtBaLvynT/93cCjI OFgX6CDX3j2TJCH2/qi7E=; b=aT2WOcX64X/Drn+K8+gkK+4JRCVB0mneBZ9X8x xhkRcbTQG3qq/aN5UleWksMXofuxtAa4tUFPiiiTLwPuGjCbAaw81I2qyxd0L20v le14akPIb76k9U3JipzsO5cHnZ5g+Bnxg0BeOdDiEgPGHvFS9lwLDJWFVxZRU9dk 7G1SNMC6NuwHjU37l5Y4tmFFc6hSKQOe+dkX6yDbF3omMWSxv9pnaD7jQzZyQIIJ BjQ49lkN+RzkKoxyVG75S06LSTw443nbol6JhzKxL3oTFXstNdVUvh7jK1+oc/Ne 0jp/R3JJvKnNpTvC+LXmQLFIW9TodvZkenB6eZGMFgVxWWqA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ys3639fmq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 16 Jun 2024 06:14:59 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45G6EwiP016005 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 16 Jun 2024 06:14:58 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Sat, 15 Jun 2024 23:14:58 -0700 From: Jeff Johnson Date: Sat, 15 Jun 2024 23:14:57 -0700 Subject: [PATCH] crypto: lib - add missing MODULE_DESCRIPTION() macros Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20240615-md-arm-lib-crypto-v1-1-27b67bf8573c@quicinc.com> X-B4-Tracking: v=1; b=H4sIAOCCbmYC/x3MwQ6CMAyA4VchPdtkIDPGVzEeuq1KEzZICwZDe Henx+/w/zsYq7DBrdlB+S0mU6loTw3EgcqLUVI1dK7r3aX1mBOSZhwlYNTPvEzYe5/Yn326koP azcpP2f7P+6M6kDEGpRKH32mUsm6YyRZWOI4v32oM5oIAAAA= To: Herbert Xu , "David S. Miller" CC: , , , Jeff Johnson X-Mailer: b4 0.14.0 X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: WbBa9OCnvlx8iAt0SIiTe41w_2CtzSEd X-Proofpoint-ORIG-GUID: WbBa9OCnvlx8iAt0SIiTe41w_2CtzSEd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-16_05,2024-06-14_03,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 clxscore=1015 impostorscore=0 bulkscore=0 malwarescore=0 suspectscore=0 phishscore=0 adultscore=0 priorityscore=1501 spamscore=0 mlxlogscore=999 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406160047 With ARCH=arm, make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in lib/crypto/libsha256.o Add the missing invocation of the MODULE_DESCRIPTION() macro to all files which have a MODULE_LICENSE(). This includes sha1.c and utils.c which, although they did not produce a warning with the arm allmodconfig configuration, may cause this warning with other configurations. Signed-off-by: Jeff Johnson --- lib/crypto/sha1.c | 1 + lib/crypto/sha256.c | 1 + lib/crypto/utils.c | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/crypto/sha1.c b/lib/crypto/sha1.c index 1aebe7be9401..6d2922747cab 100644 --- a/lib/crypto/sha1.c +++ b/lib/crypto/sha1.c @@ -137,4 +137,5 @@ void sha1_init(__u32 *buf) } EXPORT_SYMBOL(sha1_init); +MODULE_DESCRIPTION("SHA-1 Algorithm"); MODULE_LICENSE("GPL"); diff --git a/lib/crypto/sha256.c b/lib/crypto/sha256.c index 3ac1ef8677db..3f42d203c7bc 100644 --- a/lib/crypto/sha256.c +++ b/lib/crypto/sha256.c @@ -165,4 +165,5 @@ void sha256(const u8 *data, unsigned int len, u8 *out) } EXPORT_SYMBOL(sha256); +MODULE_DESCRIPTION("SHA-256 Algorithm"); MODULE_LICENSE("GPL"); diff --git a/lib/crypto/utils.c b/lib/crypto/utils.c index c852c7151b0a..373364141408 100644 --- a/lib/crypto/utils.c +++ b/lib/crypto/utils.c @@ -85,4 +85,5 @@ void __crypto_xor(u8 *dst, const u8 *src1, const u8 *src2, unsigned int len) } EXPORT_SYMBOL_GPL(__crypto_xor); +MODULE_DESCRIPTION("Crypto library utility functions"); MODULE_LICENSE("GPL"); --- base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670 change-id: 20240615-md-arm-lib-crypto-455de535d8a0