Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp745657lqb; Fri, 24 May 2024 11:48:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxgjZujKD7iKw5i9uBOzgr+Bs7XDXfJ0avUZEEfreJYA30SjP6VF8412H/+rbg+QoInV0NjRYjSiBp/5rMH2uYdSGmQiZXLYo4ZB430Q== X-Google-Smtp-Source: AGHT+IG2C+s+x275dT62TGIBqmt9ZHC1l+2X79PiVAKFJR75TqRuWNQvJ8TjqSeq/p59ElHin/rI X-Received: by 2002:a05:6359:458a:b0:18f:8613:12b9 with SMTP id e5c5f4694b2df-197e50c2369mr365998655d.2.1716576515523; Fri, 24 May 2024 11:48:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716576515; cv=pass; d=google.com; s=arc-20160816; b=SHPjPNbiVSHSWvEDthT9RwAHeWRqLvpsQ54HD5OEDPsX3v+rkepRHmhxS4HPYcgLil 8+Bxmygsb4JYiVIpkakiH7U5kYSMpoAS83OLVW9xfQiJZmVHCEcLkdHnFWq+K//cUA/j QVkKbJlYQ8zqP27gUF4fARWoWFGA//5aSbS8M4Y3dnoRKdZlYDj8+x/gmAA7mvZmmMVy QBxg91OpgGtN4PY9Hns3L+BKsPthqCF15kSY/CQ/PYLWEc8jNxH2ibC4v0jqgogFzh1d ++wSeO47jQdB2+vksStUKjDKL0cZpSsVAAhocCvfTZqMjGhEDBkCVl5MSx+GJzc1MfIr O+6g== 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=8l2Emop1qAQF+HZ7Y2wdL0/32jzzi597XdPe0758sgw=; fh=523TKVRZoKfl9bMn/4+piZxKq11OnXk1QWvtbuHW1jI=; b=l+WX0Zp6bcQ//59iReni+2VPO+9OIAZV92o9xptFakT2kWYAKdhg2cKpqADVszNDid rkuyUP2DD3bXZbpQkzM+H5g4x0bvicZMrxVopU/N330UZ0Tcg0Sze2JUyEULNPvPOQiC bJc/5Q4cVn7lCn59Nm1w6CD6wKmG4nG/+PoNEY4m1k/zjiRIdc1uFYzRKSwlEtBqUZpY A/VypzzhVG+65+R0P+4Gw3e8FlMyeljO1qx97Lf/OzHX9PN1c0xphpioV02VmUKaYOO/ dNJPvIIezRb6SpkQ0YGavl+FbXZuF8UXBFGLauoZSN3Vpxs2CfndlJaXeTr3586Nwdcf msIQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=TE37dC61; 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-kernel+bounces-189028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189028-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-68229d0d4c2si1730915a12.589.2024.05.24.11.48.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 11:48:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=TE37dC61; 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-kernel+bounces-189028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189028-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D7933281742 for ; Fri, 24 May 2024 18:48:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F8D341C6D; Fri, 24 May 2024 18:48:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="TE37dC61" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 999D94642B; Fri, 24 May 2024 18:48:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716576503; cv=none; b=bkaYXcXlxWCiW4HMGuexkRVuyKWxHLhTlso6mKCQtN4KI/jajn4zrq5+rUby1riVi5rdN7c5z3loGkNBZL+DYqnLvSmtnOM5RkL3ndZrctCGxxSS1oYqtBhJOdZONJUwTIfNkaNCJjFopH7IvvGdOfinw6IZWRP6g1chkLZ9sQU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716576503; c=relaxed/simple; bh=SnDU0pGVxgci1LL9UROqqRYtN2WSgpN4SI/1K7x4WQM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:To:CC; b=B+vyMhcnmU38S+PgFT055JF13X6kr+6pDBKc7K6VQ2lBQBmh0M+4czMEcvtvSReiGZFDFhd27RuxaiQrVEV/jXpT0icYLcQRudl3MxxcdUBQm8DRBXGJj8pglOCe6wdFlvcBkpR5d2aO5zyLO1noUFPiUtFJ9bSj4e1B1ICFvyQ= 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=TE37dC61; arc=none smtp.client-ip=205.220.180.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 (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44O9LdCx026374; Fri, 24 May 2024 18:48:18 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=8l2Emop1qAQF+HZ7Y2wdL0 /32jzzi597XdPe0758sgw=; b=TE37dC61a0OQl+x/Q8pCm66ZnN1Lmd2VE8fuAF 4sAlDUUfXZDktwsDfcgVBWmNGWCrlCdCG4m2WlYXO87lmpPaoxCeT2zBnevRQY6x KxtGt8tBufszx9q0chh3nmFvMmE4M0dzVI1Q8Wbf5Grn9EMBK/s2iup547eNZXBS c0Xw/j6Tzm82Zv2XxqSTMycIUEmAZHfgDiOD6MEfGy/l0ZczMxiySUzp2Au/jTLQ tnuU90/3hRdan4PShA4oG9fl2KE3EF+ifEHio3LlWKOjhq1BWA4t0dhcLXNEBQH+ Z7YoMNQ8lQskLgz/AAD85Gv8vgmQwtsEh22Q1umMwG5MoBrQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yaa97baue-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 May 2024 18:48:17 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 44OImGkw031129 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 May 2024 18:48:16 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; Fri, 24 May 2024 11:48:09 -0700 From: Jeff Johnson Date: Fri, 24 May 2024 11:48:09 -0700 Subject: [PATCH] unicode: add MODULE_DESCRIPTION() macros Precedence: bulk X-Mailing-List: linux-kernel@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: <20240524-md-unicode-v1-1-e2727ce8574d@quicinc.com> X-B4-Tracking: v=1; b=H4sIAOjgUGYC/x3MywrCQAyF4VcpWRuo4wxaX0VczCW1AZuWiZVK6 bsbXX5wzr+BUmVSuDYbVHqz8iSG46GBPER5EHIxg2udb4PzOBZchPNUCP3lFM59Crl0HdhhrtT z+o/d7uYUlTDVKHn4JZ4sy4pj1BdVnD82hX3/Ak+N3/aBAAAA To: Gabriel Krisman Bertazi CC: , , , Jeff Johnson X-Mailer: b4 0.13.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-ORIG-GUID: BdLzRcCcrN_PB4PsLOagSb4ZYdw6TYs2 X-Proofpoint-GUID: BdLzRcCcrN_PB4PsLOagSb4ZYdw6TYs2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-24_06,2024-05-24_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 priorityscore=1501 adultscore=0 mlxlogscore=999 lowpriorityscore=0 mlxscore=0 clxscore=1011 spamscore=0 phishscore=0 impostorscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2405240133 Currently 'make W=1' reports: WARNING: modpost: missing MODULE_DESCRIPTION() in fs/unicode/utf8data.o WARNING: modpost: missing MODULE_DESCRIPTION() in fs/unicode/utf8-selftest.o Add a MODULE_DESCRIPTION() to utf8-selftest.c and utf8data.c_shipped, and update mkutf8data.c to add a MODULE_DESCRIPTION() to any future generated utf8data file. Signed-off-by: Jeff Johnson --- Note that I verified that REGENERATE_UTF8DATA creates a file with the correct MODULE_DESCRIPTION(), but that file has significantly different contents than utf8data.c_shipped using the current: https://www.unicode.org/Public/UNIDATA/UCD.zip --- fs/unicode/mkutf8data.c | 1 + fs/unicode/utf8-selftest.c | 1 + fs/unicode/utf8data.c_shipped | 1 + 3 files changed, 3 insertions(+) diff --git a/fs/unicode/mkutf8data.c b/fs/unicode/mkutf8data.c index bc1a7c8b5c8d..77b685db8275 100644 --- a/fs/unicode/mkutf8data.c +++ b/fs/unicode/mkutf8data.c @@ -3352,6 +3352,7 @@ static void write_file(void) fprintf(file, "};\n"); fprintf(file, "EXPORT_SYMBOL_GPL(utf8_data_table);"); fprintf(file, "\n"); + fprintf(file, "MODULE_DESCRIPTION(\"UTF8 data table\");\n"); fprintf(file, "MODULE_LICENSE(\"GPL v2\");\n"); fclose(file); } diff --git a/fs/unicode/utf8-selftest.c b/fs/unicode/utf8-selftest.c index eb2bbdd688d7..f955dfcaba8c 100644 --- a/fs/unicode/utf8-selftest.c +++ b/fs/unicode/utf8-selftest.c @@ -307,4 +307,5 @@ module_init(init_test_ucd); module_exit(exit_test_ucd); MODULE_AUTHOR("Gabriel Krisman Bertazi "); +MODULE_DESCRIPTION("Kernel module for testing utf-8 support"); MODULE_LICENSE("GPL"); diff --git a/fs/unicode/utf8data.c_shipped b/fs/unicode/utf8data.c_shipped index d9b62901aa96..dafa5fed761d 100644 --- a/fs/unicode/utf8data.c_shipped +++ b/fs/unicode/utf8data.c_shipped @@ -4120,4 +4120,5 @@ struct utf8data_table utf8_data_table = { .utf8data = utf8data, }; EXPORT_SYMBOL_GPL(utf8_data_table); +MODULE_DESCRIPTION("UTF8 data table"); MODULE_LICENSE("GPL v2"); --- base-commit: 07506d1011521a4a0deec1c69721c7405c40049b change-id: 20240524-md-unicode-48357fb5cd99