forked from pool/s390-tools
( jsc#IBM-1447, jsc#IBM-1062 ) * s390-tools-General-update-01.patch * s390-tools-General-update-02.patch * s390-tools-General-update-03.patch * s390-tools-General-update-04.patch * s390-tools-General-update-05.patch * s390-tools-General-update-06.patch * s390-tools-General-update-07.patch * s390-tools-General-update-08.patch * s390-tools-General-update-09.patch * s390-tools-General-update-10.patch * s390-tools-General-update-11.patch * s390-tools-General-update-12.patch * s390-tools-Additional-update-01.patch * s390-tools-Additional-update-02.patch ( jsc#IBM-1570, jsc#IBM-1571 ) * s390-tools-Support-unencrypted-SE-images-01.patch ( jsc#IBM-1572, jsc#IBM-1573 ) * s390-tools-pvimg-info-command-01.patch * s390-tools-pvimg-info-command-02.patch * s390-tools-pvimg-info-command-03.patch * s390-tools-pvimg-info-command-04.patch ( jsc#IBM-1576, jsc#IBM-1577 ) * s390-tools-pvimg-additional-01.patch - Renamed patches from - to * s390-tools-01-opticsmon-Fix-runaway-loop-in-on_link_change.patch to s390-tools-Additional-update-01.patch * s390-tools-02-libzpci-opticsmon-Refactor-on_link_change-using-new.patch to s390-tools-Additional-update-02.patch * s390-tools-03-rust-pvimg-Add-enable-disable-image-encryption-flags-to-pvimg-create.patch to s390-tools-Support-unencrypted-SE-images-01.patch - Revendored vendor.tar.gz OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=243
52 lines
1.5 KiB
Diff
52 lines
1.5 KiB
Diff
From 6a55d0c2e57952600164822dd100e8247b4b010f Mon Sep 17 00:00:00 2001
|
|
From: Steffen Eiden <seiden@linux.ibm.com>
|
|
Date: Fri, 23 Aug 2024 09:16:26 +0200
|
|
Subject: [PATCH] rust/pv: Lower most lints to warn
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Lower the lint level to warn for the styling lints.
|
|
This avoids compile issues during packaging for newer tooling with
|
|
potential more lint findings.
|
|
Still deny compiling if a public symbol has no documentation.
|
|
|
|
Fixes: https://github.com/ibm-s390-linux/s390-tools/issues/173
|
|
Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
|
|
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
|
|
---
|
|
rust/pv/src/lib.rs | 4 ++--
|
|
rust/pv_core/src/lib.rs | 4 ++--
|
|
2 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/rust/pv/src/lib.rs b/rust/pv/src/lib.rs
|
|
index 9a647617..1084f8e8 100644
|
|
--- a/rust/pv/src/lib.rs
|
|
+++ b/rust/pv/src/lib.rs
|
|
@@ -2,8 +2,8 @@
|
|
//
|
|
// Copyright IBM Corp. 2023, 2024
|
|
|
|
-#![deny(
|
|
- missing_docs,
|
|
+#![deny(missing_docs)]
|
|
+#![warn(
|
|
missing_debug_implementations,
|
|
trivial_numeric_casts,
|
|
unstable_features,
|
|
diff --git a/rust/pv_core/src/lib.rs b/rust/pv_core/src/lib.rs
|
|
index 1356c1b7..b617b8f9 100644
|
|
--- a/rust/pv_core/src/lib.rs
|
|
+++ b/rust/pv_core/src/lib.rs
|
|
@@ -1,8 +1,8 @@
|
|
// SPDX-License-Identifier: MIT
|
|
//
|
|
// Copyright IBM Corp. 2023, 2024
|
|
-#![deny(
|
|
- missing_docs,
|
|
+#![deny(missing_docs)]
|
|
+#![warn(
|
|
missing_debug_implementations,
|
|
trivial_numeric_casts,
|
|
unstable_features,
|