linux-next/arch/s390
Niklas Schnelle 7832b3047d s390/debug: Simplify and document debug_next_entry() logic
Contrary to convention debug_next_entry() returns a falsy 0 value if
there are more entries and a truthy 1 value when there are no more
entries. As there is only one caller just reverse this logic to be less
surprising and document the behavior in a kdoc comment. Also replace the
goto with an early return. In the future this allows using it in
a do {} while (debug_next_entry(...)) loop.

Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
2024-12-16 16:14:26 +01:00
..
appldata sysctl: treewide: constify the ctl_table argument of proc_handlers 2024-07-24 20:59:29 +02:00
boot Revert "s390/mm: Allow large pages for KASAN shadow mapping" 2024-11-29 13:41:11 +01:00
configs s390 updates for 6.13 merge window 2024-11-18 17:45:41 -08:00
crypto module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
hypfs [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
include s390/pci: Report PCI error recovery results via SCLP 2024-12-16 16:14:26 +01:00
kernel s390/debug: Simplify and document debug_next_entry() logic 2024-12-16 16:14:26 +01:00
kvm more s390 updates for 6.13 merge window 2024-11-29 10:40:52 -08:00
lib more s390 updates for 6.13 merge window 2024-11-29 10:40:52 -08:00
mm more s390 updates for 6.13 merge window 2024-11-29 10:40:52 -08:00
net s390/bpf: Implement exceptions 2024-07-08 16:39:35 +02:00
pci s390/pci: Report PCI error recovery results via SCLP 2024-12-16 16:14:26 +01:00
purgatory s390: Fix various typos 2024-10-25 16:03:23 +02:00
tools KVM: s390: add gen17 facilities to CPU model 2024-11-11 12:07:51 +00:00
Kbuild - An extensive rework of kexec and crash Kconfig from Eric DeVolder 2023-08-29 14:53:51 -07:00
Kconfig more s390 updates for 6.13 merge window 2024-11-29 10:40:52 -08:00
Kconfig.debug s390/Kconfig.debug: fix indentation 2022-06-01 12:03:15 +02:00
Makefile s390: use a larger stack for KMSAN 2024-07-03 19:30:24 -07:00
Makefile.postlink s390/build: Avoid relocation information in final vmlinux 2024-08-27 20:16:48 +02:00