Compare commits
No commits in common. "rawhide" and "f43" have entirely different histories.
2 changed files with 1 additions and 50 deletions
|
|
@ -1,44 +0,0 @@
|
|||
From dfadd3fd53860a8f44871e479bf602a2fa3bae53 Mon Sep 17 00:00:00 2001
|
||||
From: Chris Leech <cleech@redhat.com>
|
||||
Date: Tue, 6 Jan 2026 16:20:49 -0800
|
||||
Subject: [PATCH 1/1] =?UTF-8?q?initialization=20discards=20=E2=80=98const?=
|
||||
=?UTF-8?q?=E2=80=99=20qualifier=20from=20pointer=20target=20type?=
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Chris Leech <cleech@redhat.com>
|
||||
---
|
||||
lib/fcoe_utils.c | 2 +-
|
||||
lib/sysfs_hba.c | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/lib/fcoe_utils.c b/lib/fcoe_utils.c
|
||||
index 4d13dd7ecf9..5ea713679a5 100644
|
||||
--- a/lib/fcoe_utils.c
|
||||
+++ b/lib/fcoe_utils.c
|
||||
@@ -161,7 +161,7 @@ int fcoe_checkdir(char *dir)
|
||||
*/
|
||||
char *get_ifname_from_symbolic_name(const char *symbolic_name)
|
||||
{
|
||||
- char *last_space = strrchr(symbolic_name, ' ');
|
||||
+ const char *last_space = strrchr(symbolic_name, ' ');
|
||||
|
||||
if (!last_space || strlen(last_space) == 1)
|
||||
return NULL;
|
||||
diff --git a/lib/sysfs_hba.c b/lib/sysfs_hba.c
|
||||
index 381f335d7ea..302ce634954 100644
|
||||
--- a/lib/sysfs_hba.c
|
||||
+++ b/lib/sysfs_hba.c
|
||||
@@ -441,7 +441,7 @@ char *get_pci_dev_from_netdev(const char *netdev)
|
||||
free(path);
|
||||
if (ret == -1) {
|
||||
char realdev[256];
|
||||
- char *subif;
|
||||
+ const char *subif;
|
||||
size_t len;
|
||||
|
||||
subif = strchr(netdev, '.');
|
||||
--
|
||||
2.52.0
|
||||
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
Name: fcoe-utils
|
||||
Version: 1.0.34
|
||||
Release: 13.git%{shortcommit0}%{?dist}
|
||||
Release: 12.git%{shortcommit0}%{?dist}
|
||||
Summary: Fibre Channel over Ethernet utilities
|
||||
License: GPL-2.0-only
|
||||
URL: http://www.open-fcoe.org
|
||||
|
|
@ -32,8 +32,6 @@ Patch1: 0001-fcoemon-add-snprintf-string-precision-modifiers-in-f.patch
|
|||
# https://github.com/openSUSE/fcoe-utils/pull/25
|
||||
Patch2: 0002-Don-t-attempt-to-memcpy-zero-bytes.patch
|
||||
|
||||
Patch3: 0003-initialization-discards-const-qualifier-from-pointer.patch
|
||||
|
||||
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
|
|
@ -88,9 +86,6 @@ done
|
|||
%{_libexecdir}/fcoe/
|
||||
|
||||
%changelog
|
||||
* Wed Jan 07 2026 Chris Leech <cleech@redhat.com> - 1.0.34-13.gitb233050
|
||||
- FTBFS: GCC 16 -Werror=discarded-qualifiers
|
||||
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.34-12.gitb233050
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue