Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp392105rdb; Thu, 8 Feb 2024 08:47:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IGa9eZLKXriAW+RtiSEVhQb0+VzQVDlN1E6AtWVuLqU3Br3qBHgHciB2luZsLr1h7msdlQH X-Received: by 2002:a05:6870:c8e:b0:218:daab:aabf with SMTP id mn14-20020a0568700c8e00b00218daabaabfmr11898029oab.53.1707410833960; Thu, 08 Feb 2024 08:47:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707410833; cv=pass; d=google.com; s=arc-20160816; b=Mvyaav8jOfcW3DhjWgfQeo0tQie+mne21BEoz3tDiIB1Q3TXfoB9UXQCWYy47DyZHE mPM45hUEveVQv0DBiHAMNshEiEpRfY6JybR17hM5KTD9VgRxXsMP0fKolGngIIguibQP Tk9Mt4BvtIS+/BuAwHXxn6O0vkAimJ4ghWCFSOs1pzPPm7X3+V4pZafHMXj9kBqZJjgu 6eLFBbFhhstbGkpYbzNyWPG7DnVZoUCB2UPFpkoCtXivMiszgj08tG2alj5oOZm1jZ5U QZt9XNnK59UIDo4TwwbqU6pEB1ac5JfmZ/fH0ZWOTPyNeydhqjh+jwHE3qfPuX079hoL 2oXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=thJ3B9UkQOs77FiMZVfUn7oLhfz0psP3bIZ7qX3TtM8=; fh=qH3rh+FQGBVh9FhoAy6+xkSRXkqPtQgXydrIuWG8Czw=; b=l2MHJh4kdVkkLxRBbbSe70ANXkBcMxJr4+Im60urC2DaLzu7b/2JWtDJXbLnj7tBbf Bm1KJiucfjfwDFpEnGbp4V0swzk9WdR3Vtiep8J+2/5Q7TMSziBNpmXJF/PfPvgNmjA8 q8mWdOrfLv/xMxvxkQV/Fjs6JoGdMjbTxx0hRX+ofUMlacIz3dYD0CvvYkej4bSFQw8y RyimOKZkMFfhB8A0G1CbxeuO96tta6q+TLoPbentokUocTAWNW/LnZ2NSJoGKYxVkj8Q hTFaKOsUV5DcXPJHNoXxtZhON1fbMJRXsWFtSijmSuvOHjAaJtMFBHb52zI96Fgn8iiW DU3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-58368-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58368-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCVW6JlLScZpSBNxmueLf8n9PPN8IsJ15sZUD4GYxllhqlX7tyzzZB+LVQWXge21sjDHUpu+sCSYYz54UWeSZhhWsWTsMkz7Kd0cVVwMAw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id g24-20020a633758000000b005d6787271a3si21807pgn.205.2024.02.08.08.47.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 08:47:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58368-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; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-58368-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58368-linux.lists.archive=gmail.com@vger.kernel.org" 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 7406A284AC5 for ; Thu, 8 Feb 2024 16:45:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 44860128391; Thu, 8 Feb 2024 16:43:12 +0000 (UTC) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 125237F488; Thu, 8 Feb 2024 16:43:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707410591; cv=none; b=NBErqsuS/P9+pXUdfVrzGltzJ/sEip5IIBXfnc01uagfnpgL+RslrEp6dwyPWXhRCokpjvFZlJIu5+kdk7+upl2sXodIDXyxTfp3YMKnigeC1z+oeHNlNzhKbFuv3cXtFyc24SYZwI4JN2Dzj0IvhnKesxS76C7mTLHgJPeGnn4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707410591; c=relaxed/simple; bh=M22ZHDmZSNfVq42V0KKc3O9NiBww81GFILhYxzrgvdA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nQN6AgYYKvtMGB2DiDfDxsBqKM4tbLLgcmISEc4ze25WKSYXmTxA1ABLkvC00hYEvffuZX1/QQ1o9KPqy2HjK0u9xKgXVdzPXORYWy++K2sMcp0EZykOzOV+YWlGrp7P5k+PrsrqENWmPMqm8lJxTPEi14s2Q7QTZJUAKF+4ySs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.218.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a3566c0309fso248162666b.1; Thu, 08 Feb 2024 08:43:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707410588; x=1708015388; 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=thJ3B9UkQOs77FiMZVfUn7oLhfz0psP3bIZ7qX3TtM8=; b=UiscqErGX+QBadliLbbgQmZrICp1zU1U7BWlcX5iRyokJ5xsFxwp9oPmM1Q8ybGGNE wI73Q174oneRLeQ2QcvcYkdsmP5B/ssvTq5W6D9tyB+TVhNnisx2OY5hOQ+arsRdmsVc N4qZtjG/qr6Q60S3ZxvAqyB54Tao4Mg2I1ztOQQs9O4hqKUBNyKPNapb0Eckj0UzJIW6 AYSKeCZlUr0MC2jTd76I0XAAVbL62Yvu3/z0LxvbkoLFp+whpUy/3EdIZ9vjgQrns8Eb zxk0QLIyZbiSy2/VdXyI771ZkAOcY7pcKkjH+9935LiWLkXBUKFy2zU4iqYnwK4oGTCn vrcQ== X-Gm-Message-State: AOJu0YztYbJ+13uqvDs5kUz8lB78oJ2gFVt0kQM4lz/LTcuZo+62reiu z2ASfu+UnomccnNys2cioA2FXwMRyf8We3QRP0Zf63wR8IM8/JuO X-Received: by 2002:a17:907:75d4:b0:a37:b590:c15b with SMTP id jl20-20020a17090775d400b00a37b590c15bmr5676605ejc.65.1707410588208; Thu, 08 Feb 2024 08:43:08 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXkQBizbKxBPcm8buF964sV0gY9Cb45wRronOSwVOo6/llJDesPnlc+jsPu6RT5iZ5/+oILeFtSX6pcLEvASuMc0RaOFm1uCgRDxVxFHd9RKt00loclJonl78YvUFxvHPKkfSgPR9TvDumgkIHNUG/JBPlj4XNA+agXvwHOR6N7ZEF1u/L4OYHjJ81NwDrkq2/S7eNleIGKwk49t5phQZbhHeeSJm0ERPGRvEGH+Qxxv0aZcA0KX53Qk1gHBX5LEduGKEtv3CkTlVHVVE3jFAnmo2ObnBhQwo0y5bfyVkToQmeQOf80vyNrD7h8rGBuYUIDXmaeZsksfizgEdpjugM= Received: from localhost (fwdproxy-lla-007.fbsv.net. [2a03:2880:30ff:7::face:b00c]) by smtp.gmail.com with ESMTPSA id gz8-20020a170906f2c800b00a385dd961bbsm216848ejb.192.2024.02.08.08.43.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 08:43:07 -0800 (PST) From: Breno Leitao To: kuba@kernel.org, davem@davemloft.net, pabeni@redhat.com, edumazet@google.com, Jamal Hadi Salim , Cong Wang , Jiri Pirko Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, horms@kernel.org, andrew@lunn.ch, f.fainelli@gmail.com Subject: [PATCH net v3 7/9] net: fill in MODULE_DESCRIPTION()s for net/sched Date: Thu, 8 Feb 2024 08:42:42 -0800 Message-Id: <20240208164244.3818498-8-leitao@debian.org> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240208164244.3818498-1-leitao@debian.org> References: <20240208164244.3818498-1-leitao@debian.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Add descriptions to the network schedulers. Suggested-by: Jamal Hadi Salim Signed-off-by: Breno Leitao --- net/sched/em_canid.c | 1 + net/sched/em_cmp.c | 1 + net/sched/em_meta.c | 1 + net/sched/em_nbyte.c | 1 + net/sched/em_text.c | 1 + net/sched/em_u32.c | 1 + 6 files changed, 6 insertions(+) diff --git a/net/sched/em_canid.c b/net/sched/em_canid.c index 5ea84decec19..5337bc462755 100644 --- a/net/sched/em_canid.c +++ b/net/sched/em_canid.c @@ -222,6 +222,7 @@ static void __exit exit_em_canid(void) tcf_em_unregister(&em_canid_ops); } +MODULE_DESCRIPTION("ematch classifier to match CAN IDs embedded in skb CAN frames"); MODULE_LICENSE("GPL"); module_init(init_em_canid); diff --git a/net/sched/em_cmp.c b/net/sched/em_cmp.c index f17b049ea530..c90ad7ea26b4 100644 --- a/net/sched/em_cmp.c +++ b/net/sched/em_cmp.c @@ -87,6 +87,7 @@ static void __exit exit_em_cmp(void) tcf_em_unregister(&em_cmp_ops); } +MODULE_DESCRIPTION("ematch classifier for basic data types(8/16/32 bit) against skb data"); MODULE_LICENSE("GPL"); module_init(init_em_cmp); diff --git a/net/sched/em_meta.c b/net/sched/em_meta.c index 09d8afd04a2a..8996c73c9779 100644 --- a/net/sched/em_meta.c +++ b/net/sched/em_meta.c @@ -1006,6 +1006,7 @@ static void __exit exit_em_meta(void) tcf_em_unregister(&em_meta_ops); } +MODULE_DESCRIPTION("ematch classifier for various internal kernel metadata, skb metadata and sk metadata"); MODULE_LICENSE("GPL"); module_init(init_em_meta); diff --git a/net/sched/em_nbyte.c b/net/sched/em_nbyte.c index a83b237cbeb0..4f9f21a05d5e 100644 --- a/net/sched/em_nbyte.c +++ b/net/sched/em_nbyte.c @@ -68,6 +68,7 @@ static void __exit exit_em_nbyte(void) tcf_em_unregister(&em_nbyte_ops); } +MODULE_DESCRIPTION("ematch classifier for arbitrary skb multi-bytes"); MODULE_LICENSE("GPL"); module_init(init_em_nbyte); diff --git a/net/sched/em_text.c b/net/sched/em_text.c index f176afb70559..420c66203b17 100644 --- a/net/sched/em_text.c +++ b/net/sched/em_text.c @@ -147,6 +147,7 @@ static void __exit exit_em_text(void) tcf_em_unregister(&em_text_ops); } +MODULE_DESCRIPTION("ematch classifier for embedded text in skbs"); MODULE_LICENSE("GPL"); module_init(init_em_text); diff --git a/net/sched/em_u32.c b/net/sched/em_u32.c index 71b070da0437..fdec4db5ec89 100644 --- a/net/sched/em_u32.c +++ b/net/sched/em_u32.c @@ -52,6 +52,7 @@ static void __exit exit_em_u32(void) tcf_em_unregister(&em_u32_ops); } +MODULE_DESCRIPTION("ematch skb classifier using 32 bit chunks of data"); MODULE_LICENSE("GPL"); module_init(init_em_u32); -- 2.39.3