All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [peterz-queue:locking/irqstate 2/6] include/linux/irqflags.h:36:22: warning: declaration specifier missing, defaulting to 'int'
Date: Fri, 29 May 2020 12:11:20 +0800	[thread overview]
Message-ID: <202005291217.imM2QEbR%lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 23605 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/irqstate
head:   53a5109bcbaecd7ee2639bd53422eeea18b1eb2a
commit: d2706a31db9d55bf0c4c6d2c60beb02b4459805e [2/6] lockdep: Change hardirq{s_enabled,_context} to per-cpu variables
config: s390-randconfig-r006-20200528 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2d068e534f1671459e1b135852c1b3c10502e929)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install s390 cross compiling tool for clang build
        # apt-get install binutils-s390-linux-gnu
        git checkout d2706a31db9d55bf0c4c6d2c60beb02b4459805e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

In file included from drivers/pci/access.c:2:
In file included from include/linux/pci.h:35:
In file included from include/linux/kobject.h:20:
In file included from include/linux/sysfs.h:16:
In file included from include/linux/kernfs.h:12:
In file included from include/linux/mutex.h:16:
In file included from include/linux/spinlock_types.h:18:
In file included from include/linux/lockdep.h:23:
In file included from arch/s390/include/asm/percpu.h:5:
In file included from include/linux/preempt.h:78:
In file included from arch/s390/include/asm/preempt.h:6:
In file included from include/linux/thread_info.h:38:
In file included from arch/s390/include/asm/thread_info.h:27:
In file included from arch/s390/include/asm/processor.h:41:
>> include/linux/irqflags.h:36:22: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirqs_enabled);
^
int
include/linux/irqflags.h:36:1: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirqs_enabled);
^
int
include/linux/irqflags.h:37:22: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirq_context);
^
int
include/linux/irqflags.h:37:1: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirq_context);
^
int
In file included from drivers/pci/access.c:2:
In file included from include/linux/pci.h:39:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:466:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __raw_readb(PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:479:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:36:59: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
^
include/uapi/linux/swab.h:105:32: note: expanded from macro '__swab16'
(__builtin_constant_p((__u16)(x)) ?                                              ^
In file included from drivers/pci/access.c:2:
In file included from include/linux/pci.h:39:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:479:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:36:59: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
^
include/uapi/linux/swab.h:106:21: note: expanded from macro '__swab16'
___constant_swab16(x) :                                               ^
include/uapi/linux/swab.h:15:12: note: expanded from macro '___constant_swab16'
(((__u16)(x) & (__u16)0x00ffU) << 8) |                                       ^
In file included from drivers/pci/access.c:2:
In file included from include/linux/pci.h:39:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:479:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:36:59: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
^
include/uapi/linux/swab.h:106:21: note: expanded from macro '__swab16'
___constant_swab16(x) :                                               ^
include/uapi/linux/swab.h:16:12: note: expanded from macro '___constant_swab16'
(((__u16)(x) & (__u16)0xff00U) >> 8)))
^
In file included from drivers/pci/access.c:2:
In file included from include/linux/pci.h:39:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:479:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:36:59: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
^
include/uapi/linux/swab.h:107:12: note: expanded from macro '__swab16'
__fswab16(x))
^
In file included from drivers/pci/access.c:2:
In file included from include/linux/pci.h:39:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:492:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:118:32: note: expanded from macro '__swab32'
(__builtin_constant_p((__u32)(x)) ?                                              ^
In file included from drivers/pci/access.c:2:
In file included from include/linux/pci.h:39:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:492:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:119:21: note: expanded from macro '__swab32'
--
In file included from drivers/iio/chemical/bme680_core.c:11:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:20:
In file included from include/linux/sysfs.h:16:
In file included from include/linux/kernfs.h:12:
In file included from include/linux/mutex.h:16:
In file included from include/linux/spinlock_types.h:18:
In file included from include/linux/lockdep.h:23:
In file included from arch/s390/include/asm/percpu.h:5:
In file included from include/linux/preempt.h:78:
In file included from arch/s390/include/asm/preempt.h:6:
In file included from include/linux/thread_info.h:38:
In file included from arch/s390/include/asm/thread_info.h:27:
In file included from arch/s390/include/asm/processor.h:41:
>> include/linux/irqflags.h:36:22: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirqs_enabled);
^
int
include/linux/irqflags.h:36:1: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirqs_enabled);
^
int
include/linux/irqflags.h:37:22: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirq_context);
^
int
include/linux/irqflags.h:37:1: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirq_context);
^
int
4 warnings generated.
--
In file included from drivers/iio/chemical/bme680_i2c.c:14:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:20:
In file included from include/linux/sysfs.h:16:
In file included from include/linux/kernfs.h:12:
In file included from include/linux/mutex.h:16:
In file included from include/linux/spinlock_types.h:18:
In file included from include/linux/lockdep.h:23:
In file included from arch/s390/include/asm/percpu.h:5:
In file included from include/linux/preempt.h:78:
In file included from arch/s390/include/asm/preempt.h:6:
In file included from include/linux/thread_info.h:38:
In file included from arch/s390/include/asm/thread_info.h:27:
In file included from arch/s390/include/asm/processor.h:41:
>> include/linux/irqflags.h:36:22: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirqs_enabled);
^
int
include/linux/irqflags.h:36:1: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirqs_enabled);
^
int
include/linux/irqflags.h:37:22: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirq_context);
^
int
include/linux/irqflags.h:37:1: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirq_context);
^
int
drivers/iio/chemical/bme680_i2c.c:46:36: warning: unused variable 'bme680_acpi_match' [-Wunused-const-variable]
static const struct acpi_device_id bme680_acpi_match[] = {
^
5 warnings generated.
--
In file included from drivers/iio/dac/ad5593r.c:9:
In file included from drivers/iio/dac/ad5592r-base.h:14:
In file included from include/linux/mutex.h:16:
In file included from include/linux/spinlock_types.h:18:
In file included from include/linux/lockdep.h:23:
In file included from arch/s390/include/asm/percpu.h:5:
In file included from include/linux/preempt.h:78:
In file included from arch/s390/include/asm/preempt.h:6:
In file included from include/linux/thread_info.h:38:
In file included from arch/s390/include/asm/thread_info.h:27:
In file included from arch/s390/include/asm/processor.h:41:
>> include/linux/irqflags.h:36:22: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirqs_enabled);
^
int
include/linux/irqflags.h:36:1: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirqs_enabled);
^
int
include/linux/irqflags.h:37:22: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirq_context);
^
int
include/linux/irqflags.h:37:1: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirq_context);
^
int
In file included from drivers/iio/dac/ad5593r.c:9:
In file included from drivers/iio/dac/ad5592r-base.h:15:
In file included from include/linux/gpio/driver.h:7:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:466:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __raw_readb(PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:479:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:36:59: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
^
include/uapi/linux/swab.h:105:32: note: expanded from macro '__swab16'
(__builtin_constant_p((__u16)(x)) ?                                              ^
In file included from drivers/iio/dac/ad5593r.c:9:
In file included from drivers/iio/dac/ad5592r-base.h:15:
In file included from include/linux/gpio/driver.h:7:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:479:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:36:59: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
^
include/uapi/linux/swab.h:106:21: note: expanded from macro '__swab16'
___constant_swab16(x) :                                               ^
include/uapi/linux/swab.h:15:12: note: expanded from macro '___constant_swab16'
(((__u16)(x) & (__u16)0x00ffU) << 8) |                                       ^
In file included from drivers/iio/dac/ad5593r.c:9:
In file included from drivers/iio/dac/ad5592r-base.h:15:
In file included from include/linux/gpio/driver.h:7:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:479:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:36:59: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
^
include/uapi/linux/swab.h:106:21: note: expanded from macro '__swab16'
___constant_swab16(x) :                                               ^
include/uapi/linux/swab.h:16:12: note: expanded from macro '___constant_swab16'
(((__u16)(x) & (__u16)0xff00U) >> 8)))
^
In file included from drivers/iio/dac/ad5593r.c:9:
In file included from drivers/iio/dac/ad5592r-base.h:15:
In file included from include/linux/gpio/driver.h:7:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:479:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:36:59: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
^
include/uapi/linux/swab.h:107:12: note: expanded from macro '__swab16'
__fswab16(x))
^
In file included from drivers/iio/dac/ad5593r.c:9:
In file included from drivers/iio/dac/ad5592r-base.h:15:
In file included from include/linux/gpio/driver.h:7:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:492:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:118:32: note: expanded from macro '__swab32'
(__builtin_constant_p((__u32)(x)) ?                                              ^
In file included from drivers/iio/dac/ad5593r.c:9:
--
In file included from drivers/regulator/da9210-regulator.c:7:
In file included from include/linux/i2c.h:13:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:20:
In file included from include/linux/sysfs.h:16:
In file included from include/linux/kernfs.h:12:
In file included from include/linux/mutex.h:16:
In file included from include/linux/spinlock_types.h:18:
In file included from include/linux/lockdep.h:23:
In file included from arch/s390/include/asm/percpu.h:5:
In file included from include/linux/preempt.h:78:
In file included from arch/s390/include/asm/preempt.h:6:
In file included from include/linux/thread_info.h:38:
In file included from arch/s390/include/asm/thread_info.h:27:
In file included from arch/s390/include/asm/processor.h:41:
>> include/linux/irqflags.h:36:22: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirqs_enabled);
^
int
include/linux/irqflags.h:36:1: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirqs_enabled);
^
int
include/linux/irqflags.h:37:22: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirq_context);
^
int
include/linux/irqflags.h:37:1: warning: declaration specifier missing, defaulting to 'int'
DECLARE_PER_CPU(int, hardirq_context);
^
int
In file included from drivers/regulator/da9210-regulator.c:10:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:466:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __raw_readb(PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:479:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:36:59: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
^
include/uapi/linux/swab.h:105:32: note: expanded from macro '__swab16'
(__builtin_constant_p((__u16)(x)) ?                                              ^
In file included from drivers/regulator/da9210-regulator.c:10:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:479:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:36:59: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
^
include/uapi/linux/swab.h:106:21: note: expanded from macro '__swab16'
___constant_swab16(x) :                                               ^
include/uapi/linux/swab.h:15:12: note: expanded from macro '___constant_swab16'
(((__u16)(x) & (__u16)0x00ffU) << 8) |                                       ^
In file included from drivers/regulator/da9210-regulator.c:10:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:479:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:36:59: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
^
include/uapi/linux/swab.h:106:21: note: expanded from macro '__swab16'
___constant_swab16(x) :                                               ^
include/uapi/linux/swab.h:16:12: note: expanded from macro '___constant_swab16'
(((__u16)(x) & (__u16)0xff00U) >> 8)))
^
In file included from drivers/regulator/da9210-regulator.c:10:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:479:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:36:59: note: expanded from macro '__le16_to_cpu'
#define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
^
include/uapi/linux/swab.h:107:12: note: expanded from macro '__swab16'
__fswab16(x))
^
In file included from drivers/regulator/da9210-regulator.c:10:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:492:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:118:32: note: expanded from macro '__swab32'
(__builtin_constant_p((__u32)(x)) ?                                              ^
In file included from drivers/regulator/da9210-regulator.c:10:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/s390/include/asm/io.h:72:
include/asm-generic/io.h:492:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:119:21: note: expanded from macro '__swab32'
..

vim +/int +36 include/linux/irqflags.h

    35	
  > 36	DECLARE_PER_CPU(int, hardirqs_enabled);
    37	DECLARE_PER_CPU(int, hardirq_context);
    38	
    39	  extern void trace_hardirqs_on_prepare(void);
    40	  extern void trace_hardirqs_off_prepare(void);
    41	  extern void trace_hardirqs_on(void);
    42	  extern void trace_hardirqs_off(void);
    43	# define lockdep_hardirq_context(p)	(this_cpu_read(hardirq_context))
    44	# define lockdep_softirq_context(p)	((p)->softirq_context)
    45	# define lockdep_hardirqs_enabled(p)	(this_cpu_read(hardirqs_enabled))
    46	# define lockdep_softirqs_enabled(p)	((p)->softirqs_enabled)
    47	# define lockdep_hardirq_enter()			\
    48	do {							\
    49		if (this_cpu_inc_return(hardirq_context) == 1)	\
    50			current->hardirq_threaded = 0;		\
    51	} while (0)
    52	# define lockdep_hardirq_threaded()		\
    53	do {						\
    54		current->hardirq_threaded = 1;		\
    55	} while (0)
    56	# define lockdep_hardirq_exit()			\
    57	do {						\
    58		this_cpu_dec(hardirq_context);		\
    59	} while (0)
    60	# define lockdep_softirq_enter()		\
    61	do {						\
    62		current->softirq_context++;		\
    63	} while (0)
    64	# define lockdep_softirq_exit()			\
    65	do {						\
    66		current->softirq_context--;		\
    67	} while (0)
    68	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 26122 bytes --]

                 reply	other threads:[~2020-05-29  4:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202005291217.imM2QEbR%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.