powerpc: Avoid clang warnings around setjmp and longjmp
Nathan Chancellor authored
[ Upstream commit c9029ef9 ]

Commit aea44714 ("powerpc: Disable -Wbuiltin-requires-header when
setjmp is used") disabled -Wbuiltin-requires-header because of a
warning about the setjmp and longjmp declarations.

r367387 in clang added another diagnostic around this, complaining
that there is no jmp_buf declaration.

  In file included from ../arch/powerpc/xmon/xmon.c:47:
  ../arch/powerpc/include/asm/setjmp.h:10:13: error: declaration of
  built-in function 'setjmp' requires the declaration of the 'jmp_buf'
  type, commonly provided in the header <setjmp.h>.
  [-Werror,-Wincomplete-setjmp-declaration]
  extern long setjmp(long *);
              ^
  ../arch/powerpc/include/asm/setjmp.h:11:13: error: declaration of
  built-in function 'longjmp' requires the declaration of the 'jmp_buf'
  type, commonly provided in the header <setjmp.h>.
  [-Werror,-Wincomplete-setjmp-declaration]
  extern void longjmp(long *, long);...
c1a61364
Name Last commit Last update
Documentation USB: documentation: flags on usb-storage versus UAS
arch powerpc: Avoid clang warnings around setjmp and longjmp
block block: fix single range discard merge
certs Replace magic for trusting the secondary keyring with #define
crypto crypto: user - fix memory leak in crypto_report
drivers ath10k: fix fw crash by moving chip reset after napi disabled
firmware License cleanup: add SPDX GPL-2.0 license identifier to files with no license
fs reiserfs: fix extended attributes on the root directory
include quota: Check that quota is not dirty before release
init fork: fix some -Wmissing-prototypes warnings
ipc ipc/mqueue.c: only perform resource calculation if user valid
kernel cgroup: pids: use atomic64_t for pids->limit
lib lib: raid6: fix awk build warnings
mm mm/vmstat.c: fix NUMA statistics updates
net appletalk: Set error code if register_snap_client failed
samples vfio-mdev/samples: Use u8 instead of char for handle functions
scripts modpost: skip ELF local symbols during section mismatch check
security apparmor: delete the dentry in aafs_remove() to avoid a leak
sound ASoC: Jack: Fix NULL pointer dereference in snd_soc_jack_report
tools usbip: tools: fix fd leakage in the function of read_attr_usbip_status
usr kbuild: clean compressed initramfs image
virt KVM: arm/arm64: vgic: Don't rely on the wrong pending table
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore kbuild: rpm-pkg: keep spec file until make mrproper
.mailmap .mailmap: Add Maciej W. Rozycki's Imagination e-mail address
COPYING [PATCH] update FSF address in COPYING
CREDITS MAINTAINERS: update TPM driver infrastructure changes
Kbuild License cleanup: add SPDX GPL-2.0 license identifier to files with no license
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license
MAINTAINERS USB: rio500: Remove Rio 500 kernel driver
Makefile kbuild: fix single target build for external module
README README: add a new README file, pointing to the Documentation/
Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.