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-next>] [day] [month] [year] [list]
Message-ID: <20251117093137.572132-1-jolsa@kernel.org>
Date: Mon, 17 Nov 2025 10:31:32 +0100
From: Jiri Olsa <jolsa@...nel.org>
To: Thomas Gleixner <tglx@...utronix.de>,
	Peter Zijlstra <peterz@...radead.org>
Cc: linux-kernel@...r.kernel.org,
	x86@...nel.org,
	Ingo Molnar <mingo@...nel.org>,
	Borislav Petkov <bp@...en8.de>,
	Dave Hansen <dave.hansen@...ux.intel.com>
Subject: [PATCH 1/5] x86/insn-eval: Remove unused regs arg some functions

hi,
regs argument is not used in several insn-eval functions, removing it.

I have some changes based on these functions and it feels wrong to pass
NULL in regs argument. Also I don't want to send 5 extra patches with
my other change, so sending this separately.

thanks,
jirka


---
Jiri Olsa (5):
      x86/insn-eval: Remove regs arg from pt_regs_offset
      x86/insn-eval: Remove regs arg from get_reg_offset
      x86/insn-eval: Remove regs arg from insn_get_modrm_rm_off
      x86/insn-eval: Remove regs arg from insn_get_modrm_reg_off
      x86/insn-eval: Remove regs arg from get_reg_offset_16

 arch/x86/coco/sev/vc-handle.c    |  2 +-
 arch/x86/include/asm/insn-eval.h |  6 +++---
 arch/x86/kernel/cfi.c            |  2 +-
 arch/x86/kernel/umip.c           |  2 +-
 arch/x86/lib/insn-eval.c         | 35 +++++++++++++++--------------------
 arch/x86/mm/extable.c            |  2 +-
 6 files changed, 22 insertions(+), 27 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ