From b849a91cec79f8d9f68aae58a430f8269792c41d Mon Sep 17 00:00:00 2001 From: mgrzonka <97116389+mgrzonka@users.noreply.github.com> Date: Tue, 31 May 2022 16:17:48 +0200 Subject: [PATCH] Release 0.96 Signed-off-by: Mateusz Grzonka --- CHANGELOG.md | 14 ++++++++++++++ Makefile.am | 2 +- README.md | 4 ++-- configure.ac | 4 ++-- doc/Makefile.am | 2 +- doc/ledctl.pod | 4 ++-- doc/ledmon.pod | 4 ++-- src/Makefile.am | 2 +- src/amd.c | 2 +- src/amd.h | 2 +- src/amd_ipmi.c | 2 +- src/block.c | 2 +- src/cntrl.c | 2 +- src/config_file.c | 2 +- src/enclosure.c | 2 +- src/enclosure.h | 2 +- src/ledctl.c | 4 ++-- src/ledmon.c | 4 ++-- src/pidfile.c | 2 +- src/scsi.c | 2 +- src/scsi.h | 2 +- src/ses.c | 2 +- src/ses.h | 2 +- src/slave.c | 2 +- src/smp.h | 2 +- src/utils.c | 2 +- 26 files changed, 45 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a82bac8..04774f1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +### v0.96 / 2022-05-26 + +[Commit list](https://github.com/intel/ledmon/compare/v0.95...v0.96) + +Bug fixes + +* Manual updates, clarify --listed-only option +* Fix cache indexing of ATA port +* Fixes in regard to macros +* Fix memory leak in amd_ipmi.c +* Fix NULL pointer dereferences in sysfs.c +* Make messages appear in service log immediately +* Other minor fixes + ### v0.95 / 2021-01-15 [Commit list](https://github.com/intel/ledmon/compare/v0.94...v0.95) diff --git a/Makefile.am b/Makefile.am index d89b16a3..d2b6f3a5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ # # Intel(R) Enclosure LED Utilities -# Copyright (C) 2009-2021 Intel Corporation. +# Copyright (C) 2009-2022 Intel Corporation. # # This program is free software; you can redistribute it and/or modify it # under the terms and conditions of the GNU General Public License, diff --git a/README.md b/README.md index d2684c06..56bfd0fe 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# This package contains the Enclosure LED Utilities, version 0.95 +# This package contains the Enclosure LED Utilities, version 0.96 -Copyright (C) 2009-2021 Intel Corporation. +Copyright (C) 2009-2022 Intel Corporation. All files in this package can be freely distributed and used according to the terms of the GNU General Public License, version 2. diff --git a/configure.ac b/configure.ac index 8fd5e6b5..001a0493 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,8 @@ AC_PREREQ([2.69]) -AC_INIT([ledmon], [0.95]) +AC_INIT([ledmon], [0.96]) AC_CONFIG_MACRO_DIR([m4]) -AC_SUBST([PACKAGE_DATE], "January 2021") +AC_SUBST([PACKAGE_DATE], "May 2022") AM_INIT_AUTOMAKE([-Wall -Werror foreign]) # Checks for programs. diff --git a/doc/Makefile.am b/doc/Makefile.am index f894cf52..84d203d6 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,6 @@ # # Intel(R) Enclosure LED Utilities -# Copyright (C) 2009-2021 Intel Corporation. +# Copyright (C) 2009-2022 Intel Corporation. # # This program is free software; you can redistribute it and/or modify it # under the terms and conditions of the GNU General Public License, diff --git a/doc/ledctl.pod b/doc/ledctl.pod index 707bf131..774d04b2 100644 --- a/doc/ledctl.pod +++ b/doc/ledctl.pod @@ -1,6 +1,6 @@ # # Intel(R) Enclosure LED Utilities -# Copyright (C) 2009-2021 Intel Corporation. +# Copyright (C) 2009-2022 Intel Corporation. # # This program is free software; you can redistribute it and/or modify it # under the terms and conditions of the GNU General Public License, @@ -388,7 +388,7 @@ different devices at the same time. It uses the both formats of device list. =head1 LICENSE -Copyright (c) 2009-2021 Intel Corporation. +Copyright (c) 2009-2022 Intel Corporation. This program is distributed under the terms of the GNU General Public License as published by the Free Software Foundation. See the built-in help for diff --git a/doc/ledmon.pod b/doc/ledmon.pod index 3b404920..de128950 100644 --- a/doc/ledmon.pod +++ b/doc/ledmon.pod @@ -1,6 +1,6 @@ # # Intel(R) Enclosure LED Utilities -# Copyright (C) 2009-2021 Intel Corporation. +# Copyright (C) 2009-2022 Intel Corporation. # # This program is free software; you can redistribute it and/or modify it # under the terms and conditions of the GNU General Public License, @@ -183,7 +183,7 @@ switch. =head1 LICENSE -Copyright (c) 2009-2021 Intel Corporation. +Copyright (c) 2009-2022 Intel Corporation. This program is distributed under the terms of the GNU General Public License as published by the Free Software Foundation. See the build-in help for details diff --git a/src/Makefile.am b/src/Makefile.am index 3d78d30f..f7786206 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,6 @@ # # Intel(R) Enclosure LED Utilities -# Copyright (C) 2009-2021 Intel Corporation. +# Copyright (C) 2009-2022 Intel Corporation. # # This program is free software; you can redistribute it and/or modify it # under the terms and conditions of the GNU General Public License, diff --git a/src/amd.c b/src/amd.c index 85f3a9a8..7fe71b54 100644 --- a/src/amd.c +++ b/src/amd.c @@ -1,6 +1,6 @@ /* * AMD LED control - * Copyright (C) 2021, Advanced Micro Devices, Inc. + * Copyright (C) 2022, Advanced Micro Devices, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, diff --git a/src/amd.h b/src/amd.h index 8f0ce12d..290732cb 100644 --- a/src/amd.h +++ b/src/amd.h @@ -1,6 +1,6 @@ /* * AMD LED control - * Copyright (C) 2021, Advanced Micro Devices, Inc. + * Copyright (C) 2022, Advanced Micro Devices, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, diff --git a/src/amd_ipmi.c b/src/amd_ipmi.c index 5fc70bb5..7b0a7e17 100644 --- a/src/amd_ipmi.c +++ b/src/amd_ipmi.c @@ -1,6 +1,6 @@ /* * AMD IPMI LED control - * Copyright (C) 2021, Advanced Micro Devices, Inc. + * Copyright (C) 2022, Advanced Micro Devices, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, diff --git a/src/block.c b/src/block.c index ccdcad42..c61c577c 100644 --- a/src/block.c +++ b/src/block.c @@ -1,6 +1,6 @@ /* * Intel(R) Enclosure LED Utilities - * Copyright (C) 2009-2021 Intel Corporation. + * Copyright (C) 2009-2022 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, diff --git a/src/cntrl.c b/src/cntrl.c index 8eb82c62..f54d8803 100644 --- a/src/cntrl.c +++ b/src/cntrl.c @@ -1,6 +1,6 @@ /* * Intel(R) Enclosure LED Utilities - * Copyright (C) 2009-2021 Intel Corporation. + * Copyright (C) 2009-2022 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, diff --git a/src/config_file.c b/src/config_file.c index 172fa06c..95ea3354 100644 --- a/src/config_file.c +++ b/src/config_file.c @@ -1,7 +1,7 @@ /* * Intel(R) Enclosure LED Utilities * - * Copyright (C) 2017-2021 Intel Corporation. + * Copyright (C) 2017-2022 Intel Corporation. * Copyright (C) 2009 Karel Zak * * SPDX-License-Identifier: GPL-2.0 diff --git a/src/enclosure.c b/src/enclosure.c index 97714b9d..c41f8725 100644 --- a/src/enclosure.c +++ b/src/enclosure.c @@ -1,6 +1,6 @@ /* * Intel(R) Enclosure LED Utilities - * Copyright (C) 2009-2021 Intel Corporation. + * Copyright (C) 2009-2022 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, diff --git a/src/enclosure.h b/src/enclosure.h index 12bf71f9..75e55abd 100644 --- a/src/enclosure.h +++ b/src/enclosure.h @@ -1,6 +1,6 @@ /* * Intel(R) Enclosure LED Utilities - * Copyright (C) 2009-2021 Intel Corporation. + * Copyright (C) 2009-2022 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, diff --git a/src/ledctl.c b/src/ledctl.c index 2b13d75b..caedc1a4 100644 --- a/src/ledctl.c +++ b/src/ledctl.c @@ -1,6 +1,6 @@ /* * Intel(R) Enclosure LED Utilities - * Copyright (C) 2009-2021 Intel Corporation. + * Copyright (C) 2009-2022 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -96,7 +96,7 @@ const char *ibpi_str[] = { * information about the version of ledctl utility. */ static char *ledctl_version = "Intel(R) Enclosure LED Control Application %s %s\n" - "Copyright (C) 2009-2021 Intel Corporation.\n"; + "Copyright (C) 2009-2022 Intel Corporation.\n"; /** * Internal variable of monitor service. It is used to help parse command line diff --git a/src/ledmon.c b/src/ledmon.c index 5d82b0e5..885e028b 100644 --- a/src/ledmon.c +++ b/src/ledmon.c @@ -1,6 +1,6 @@ /* * Intel(R) Enclosure LED Utilities - * Copyright (C) 2009-2021 Intel Corporation. + * Copyright (C) 2009-2022 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -119,7 +119,7 @@ const char *ibpi_str[] = { * information about the version of monitor service. */ static char *ledmon_version = "Intel(R) Enclosure LED Monitor Service %s %s\n" - "Copyright (C) 2009-2021 Intel Corporation.\n"; + "Copyright (C) 2009-2022 Intel Corporation.\n"; /** * Internal variable of monitor service. It is used to help parse command line diff --git a/src/pidfile.c b/src/pidfile.c index 1440d51a..ec4348ba 100644 --- a/src/pidfile.c +++ b/src/pidfile.c @@ -1,6 +1,6 @@ /* * Intel(R) Enclosure LED Utilities - * Copyright (C) 2009-2021 Intel Corporation. + * Copyright (C) 2009-2022 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, diff --git a/src/scsi.c b/src/scsi.c index 06593de2..3c0a0c3b 100644 --- a/src/scsi.c +++ b/src/scsi.c @@ -1,6 +1,6 @@ /* * Intel(R) Enclosure LED Utilities - * Copyright (C) 2009-2021 Intel Corporation. + * Copyright (C) 2009-2022 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, diff --git a/src/scsi.h b/src/scsi.h index 1e0dd72f..60897f63 100644 --- a/src/scsi.h +++ b/src/scsi.h @@ -1,6 +1,6 @@ /* * Intel(R) Enclosure LED Utilities - * Copyright (C) 2009-2021 Intel Corporation. + * Copyright (C) 2009-2022 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, diff --git a/src/ses.c b/src/ses.c index 75e1d5e5..83690dd1 100644 --- a/src/ses.c +++ b/src/ses.c @@ -1,6 +1,6 @@ /* * Intel(R) Enclosure LED Utilities - * Copyright (C) 2009-2021 Intel Corporation. + * Copyright (C) 2009-2022 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, diff --git a/src/ses.h b/src/ses.h index 62ca4827..802311b3 100644 --- a/src/ses.h +++ b/src/ses.h @@ -1,6 +1,6 @@ /* * Intel(R) Enclosure LED Utilities - * Copyright (C) 2009-2021 Intel Corporation. + * Copyright (C) 2009-2022 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, diff --git a/src/slave.c b/src/slave.c index f90bff74..41d66533 100644 --- a/src/slave.c +++ b/src/slave.c @@ -1,6 +1,6 @@ /* * Intel(R) Enclosure LED Utilities - * Copyright (C) 2009-2021 Intel Corporation. + * Copyright (C) 2009-2022 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, diff --git a/src/smp.h b/src/smp.h index e2d74859..033db6bd 100644 --- a/src/smp.h +++ b/src/smp.h @@ -1,6 +1,6 @@ /* * Intel(R) Enclosure LED Utilities - * Copyright (C) 2011-2021 Intel Corporation. + * Copyright (C) 2011-2022 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, diff --git a/src/utils.c b/src/utils.c index ffb1f698..7f52194f 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1,6 +1,6 @@ /* * Intel(R) Enclosure LED Utilities - * Copyright (C) 2009-2021 Intel Corporation. + * Copyright (C) 2009-2022 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License,