lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220930032727.3451619-1-lizetao1@huawei.com>
Date:   Fri, 30 Sep 2022 03:27:25 +0000
From:   Li Zetao <lizetao1@...wei.com>
To:     <tglx@...utronix.de>, <mingo@...hat.com>, <bp@...en8.de>,
        <dave.hansen@...ux.intel.com>, <x86@...nel.org>, <hpa@...or.com>,
        <kirill.shutemov@...ux.intel.com>, <akpm@...ux-foundation.org>,
        <michael.roth@....com>
CC:     <lizetao1@...wei.com>, <nathan@...nel.org>,
        <sathyanarayanan.kuppuswamy@...ux.intel.com>,
        <masahiroy@...nel.org>, <ndesaulniers@...gle.com>,
        <brijesh.singh@....com>, <peterz@...radead.org>,
        <keescook@...omium.org>, <venu.busireddy@...cle.com>,
        <linux-kernel@...r.kernel.org>
Subject: [PATCH -next v3 0/2] Remove unused variables in x86/boot

This series removes some unused variables in x86/boot, and add the
"-Wall" flag to Makefile, which is the old problem of x86 not sharing
makefiles.

Changes since v2:
- Add "frame-address" flag and "-std=gnu11" to 
  x86/boot/compressed/Makefile to fix warnings when "-Wall" flag added.
- Declare the variable "i" within the for loop to reslove unused 
  variable warning.
- Delete __efi_get_rsdp_addr function when CONFIG_EFI is disabled to 
  resolve unused function warning.

v2 at:
https://lore.kernel.org/all/20220927081512.2456624-1-lizetao1@huawei.com/

Changes since v1:
- Add "-Wall" flag to x86/boot/compressed/Makefile
- Remove unused variables "et" in efi_get_system_table() and "ret" in
  efi_get_conf_table()
- Remove unused variables "ret" in __efi_get_rsdp_addr() and
  "nr_tables" in efi_get_rsdp_addr()

v1 at:
https://lore.kernel.org/all/20220923113209.3046960-1-lizetao1@huawei.com/

Li Zetao (2):
  x86/boot/compressed: Add "-Wall" flag to Makefile
  x86/boot: Remove unused variables

 arch/x86/boot/compressed/Makefile | 3 ++-
 arch/x86/boot/compressed/acpi.c   | 7 +++----
 arch/x86/boot/compressed/efi.c    | 2 --
 arch/x86/boot/compressed/kaslr.c  | 3 +--
 arch/x86/boot/compressed/sev.c    | 1 -
 5 files changed, 6 insertions(+), 10 deletions(-)

-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ