Jason Gunthorpe
7967656ffb
coding-style: Clarify the expectations around bool
...
There has been some confusion since checkpatch started warning about bool
use in structures, and people have been avoiding using it.
Many people feel there is still a legitimate place for bool in structures,
so provide some guidance on bool usage derived from the entire thread that
spawned the checkpatch warning.
Link: https://lkml.kernel.org/r/CA+55aFwVZk1OfB9T2v014PTAKFhtVan_Zj2dOjnCy3x6E4UJfA@mail.gmail.com
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Joe Perches <joe@perches.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Joey Pabalinas <joeypabalinas@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2019-01-20 19:07:39 -07:00
..
ABI
f2fs-for-4.21-rc1
2018-12-31 09:41:37 -08:00
accelerators
accounting
psi: cgroup support
2018-10-26 16:26:32 -07:00
acpi
admin-guide
Merge branch 'thorsten' into docs-next
2019-01-08 16:38:36 -07:00
aoe
arm
Documentation: Use "while" instead of "whilst"
2018-11-20 09:30:43 -07:00
arm64
arm64 festive updates for 4.21
2018-12-25 17:41:56 -08:00
auxdisplay
backlight
block
block: update sysfs documentation
2018-12-16 19:53:06 -07:00
blockdev
zram: writeback throttle
2018-12-28 12:11:49 -08:00
bpf
bus-devices
cdrom
cgroup-v1
doc: memcontrol: fix the obsolete content about force empty
2019-01-16 14:51:38 -07:00
cma
connector
console
core-api
docs: don't try to get comments from rcupdate_wait.h or rcutree.h
2019-01-14 17:40:18 -07:00
cpu-freq
Documentation: cpu-freq: Frequencies aren't always sorted
2018-11-07 13:29:04 +01:00
cpuidle
Documentation: admin-guide: PM: Add cpuidle document
2018-12-03 10:03:36 +01:00
crypto
crypto: skcipher - remove remnants of internal IV generators
2018-12-23 11:52:45 +08:00
dev-tools
Documentation/dev-tools: Use gcc version number instead svn revision number
2019-01-14 17:25:41 -07:00
device-mapper
Documentation: Use "while" instead of "whilst"
2018-11-20 09:30:43 -07:00
devicetree
hwspinlock updates for v4.21
2019-01-06 11:37:44 -08:00
doc-guide
docs-rst: doc-guide: Minor grammar fixes
2019-01-14 17:36:53 -07:00
driver-api
pci-v4.21-changes
2019-01-05 17:57:34 -08:00
driver-model
dma-mapping: remove dmam_{declare,release}_coherent_memory
2019-01-04 09:03:17 +01:00
early-userspace
Correct gen_init_cpio tool's documentation
2018-11-25 12:25:53 -07:00
EDID
Docs/EDID: Calculate CRC while building the code
2018-11-06 07:36:22 -07:00
extcon
fault-injection
doc: fault-injection: fix macro name in example
2019-01-07 15:36:11 -07:00
fb
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
features
Xtensa updates for v4.21:
2018-12-29 09:40:40 -08:00
filesystems
Documentation/filesystems: add binderfs
2019-01-14 17:21:37 -07:00
firmware_class
fmc
fpga
gpio
gpu
A fairly normal cycle for documentation stuff. We have a new
2018-12-29 11:21:49 -08:00
hid
HID: doc: fix wrong data structure reference for UHID_OUTPUT
2018-12-18 14:55:22 +01:00
hwmon
doc: fix typo in Documentation/hwmon/f71882fg
2019-01-07 15:40:29 -07:00
i2c
i2c: add i2c bus driver for NVIDIA GPU
2018-11-09 17:46:43 +01:00
ia64
ide
iio
infiniband
input
Input: add REL_WHEEL_HI_RES and REL_HWHEEL_HI_RES
2018-12-07 16:27:11 +01:00
ioctl
seccomp: add a return code to trap to userspace
2018-12-11 16:28:41 -08:00
isdn
kbuild
kbuild: generate asm-generic wrappers if mandatory headers are missing
2019-01-06 09:46:51 +09:00
kdump
kernel-hacking
laptops
platform-drivers-x86 for v4.20-1
2018-11-01 08:42:21 -07:00
leds
Documentation: Use "while" instead of "whilst"
2018-11-20 09:30:43 -07:00
lightnvm
livepatch
locking
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
m68k
maintainer
md
media
A fairly normal cycle for documentation stuff. We have a new
2018-12-29 11:21:49 -08:00
memory-devices
mic
mips
misc-devices
Documentation: add ibmvmc to toctree(index) and fix warnings
2019-01-14 08:37:17 -07:00
mmc
mtd
namespaces
netlabel
networking
doc: networking: add offload documents into main index file
2019-01-07 15:28:08 -07:00
nfc
nios2
nvdimm
libnvdimm/security: Add documentation for nvdimm security support
2018-12-21 12:44:41 -08:00
nvmem
Documentation: nvmem: document cell tables and lookup entries
2018-09-28 15:14:54 +02:00
openrisc
parisc
PCI
pci-v4.20-changes
2018-10-25 06:50:48 -07:00
pcmcia
perf
Documentation: perf: Add documentation for ThunderX2 PMU uncore driver
2018-12-06 12:29:47 +00:00
phy
platform
power
Documentation: Use "while" instead of "whilst"
2018-11-20 09:30:43 -07:00
powerpc
powerpc/fadump: Reservationless firmware assisted dump
2018-12-21 11:32:49 +11:00
pps
process
coding-style: Clarify the expectations around bool
2019-01-20 19:07:39 -07:00
pti
ptp
rapidio
RCU
doc: Fix "struction" typo in RCU memory-ordering documentation
2018-11-12 08:56:25 -08:00
riscv
s390
Documentation: Use "while" instead of "whilst"
2018-11-20 09:30:43 -07:00
scheduler
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
scsi
SCSI misc on 20181224
2018-12-28 14:48:06 -08:00
security
Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2019-01-02 09:43:14 -08:00
serial
Documentation: Use "while" instead of "whilst"
2018-11-20 09:30:43 -07:00
sh
sh: remove board_time_init() callback
2018-12-18 16:13:04 +01:00
sound
Documentation: Use "while" instead of "whilst"
2018-11-20 09:30:43 -07:00
sparc
sphinx
sphinx-static
docs: improve readability for people with poorer eyesight
2018-10-07 09:16:50 -06:00
spi
sysctl
Documentation/sysctl/vm.txt: Fix drop_caches bit number
2019-01-14 17:25:04 -07:00
target
thermal
Documentation: Use "while" instead of "whilst"
2018-11-20 09:30:43 -07:00
timers
trace
Tracing changes for v4.21:
2018-12-31 11:46:59 -08:00
translations
doc:it_IT: documentation alignment
2019-01-20 18:56:51 -07:00
usb
Documentation/usb: Fix typo
2018-11-26 16:56:34 +01:00
userspace-api
Merge branch 'next-seccomp' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2019-01-02 09:48:13 -08:00
virtual
x86/kvm/hyper-v: Introduce KVM_GET_SUPPORTED_HV_CPUID
2018-12-14 17:59:54 +01:00
vm
A fairly normal cycle for documentation stuff. We have a new
2018-12-29 11:21:49 -08:00
w1
watchdog
watchdog: docs: kernel-api: don't reference removed functions
2018-12-24 13:15:06 +01:00
wimax
x86
A fairly normal cycle for documentation stuff. We have a new
2018-12-29 11:21:49 -08:00
xilinx
Documentation: xilinx: Add documentation for eemi APIs
2018-10-09 13:26:05 +02:00
xtensa
.gitignore
atomic_bitops.txt
atomic_t.txt
bt8xxgpio.txt
btmrvl.txt
bus-virt-phys-mapping.txt
Changes
clearing-warn-once.txt
CodingStyle
conf.py
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
cpu-load.txt
cputopology.txt
crc32.txt
dcdbas.txt
debugging-modules.txt
debugging-via-ohci1394.txt
dell_rbu.txt
digsig.txt
DMA-API-HOWTO.txt
DMA-API.txt
dma-mapping: deprecate dma_zalloc_coherent
2018-12-20 08:14:09 +01:00
DMA-attributes.txt
DMA-ISA-LPC.txt
docutils.conf
dontdiff
efi-stub.txt
eisa.txt
flexible-arrays.txt
futex-requeue-pi.txt
gcc-plugins.txt
highuid.txt
hw_random.txt
hwspinlock.txt
index.rst
Documentation: add ibmvmc to toctree(index) and fix warnings
2019-01-14 08:37:17 -07:00
Intel-IOMMU.txt
intel_txt.txt
io-mapping.txt
io_ordering.txt
iostats.txt
IPMI.txt
IRQ-affinity.txt
IRQ-domain.txt
IRQ.txt
irqflags-tracing.txt
isa.txt
isapnp.txt
kernel-per-CPU-kthreads.txt
kobject.txt
kref/kobject: Improve documentation
2018-12-06 13:57:03 +01:00
kprobes.txt
kref.txt
ldm.txt
lockup-watchdogs.txt
logo.gif
logo.txt
lsm.txt
lzo.txt
mailbox.txt
Makefile
kbuild: Add support for DT binding schema checks
2018-12-13 09:41:32 -06:00
memory-barriers.txt
Documentation: Use "while" instead of "whilst"
2018-11-20 09:30:43 -07:00
men-chameleon-bus.txt
nommu-mmap.txt
ntb.txt
numastat.txt
padata.txt
parport-lowlevel.txt
percpu-rw-semaphore.txt
phy.txt
pi-futex.txt
pnp.txt
preempt-locking.txt
Documentation: preempt-locking: Use better example
2018-10-12 11:35:47 -06:00
pwm.txt
rbtree.txt
remoteproc.txt
rfkill.txt
robust-futex-ABI.txt
robust-futexes.txt
rpmsg.txt
rtc.txt
SAK.txt
sgi-ioc4.txt
siphash.txt
SM501.txt
smsc_ece1099.txt
speculation.txt
static-keys.txt
Documentation: Use "while" instead of "whilst"
2018-11-20 09:30:43 -07:00
SubmittingPatches
svga.txt
switchtec.txt
NTB: switchtec_ntb: Update switchtec documentation with prerequisites for NTB
2018-10-11 11:28:53 -05:00
sync_file.txt
tee.txt
this_cpu_ops.txt
unaligned-memory-access.txt
vfio-mediated-device.txt
vfio.txt
video-output.txt
xillybus.txt
xz.txt
zorro.txt