lkmpg/examples
Amit Dhingra bf523b2332 Simplify code by removal of outer struct
Two struct completion(s) are encapsulated within another 'struct machine'.
Simplify the code by removing the outer struct and let the struct
completion(s) be self-standing.

Update description in tex to match code.
2023-09-28 06:02:39 +00:00
..
other Fix incoherent ioctl examples (#139) 2022-02-21 00:53:29 +08:00
.clang-format Introduce Virtual Input Device Driver 2022-04-06 17:13:29 +08:00
bottomhalf.c include linux/init.h in bottomhalf.c 2023-07-04 10:10:18 -05:00
chardev.c Remove module * parameter from class_create() (#222) 2023-09-03 02:24:35 +08:00
chardev.h Fix incoherent ioctl examples (#139) 2022-02-21 00:53:29 +08:00
chardev2.c Remove module * parameter from class_create() in chardev2.c (#228) 2023-09-17 18:23:45 +08:00
completions.c Simplify code by removal of outer struct 2023-09-28 06:02:39 +00:00
cryptosha256.c examples: Add missing __init/__exit (#209) 2023-07-05 09:44:21 +08:00
cryptosk.c examples: Add missing __init/__exit (#209) 2023-07-05 09:44:21 +08:00
devicemodel.c examples: Add missing __init/__exit (#209) 2023-07-05 09:44:21 +08:00
example_atomic.c examples: Add missing __init/__exit (#209) 2023-07-05 09:44:21 +08:00
example_mutex.c examples: Add missing __init/__exit (#209) 2023-07-05 09:44:21 +08:00
example_rwlock.c examples: Add missing __init/__exit (#209) 2023-07-05 09:44:21 +08:00
example_spinlock.c examples: Add missing __init/__exit (#209) 2023-07-05 09:44:21 +08:00
example_tasklet.c examples: Add missing __init/__exit (#209) 2023-07-05 09:44:21 +08:00
hello-1.c treewide: Replace kernel.h by printk.h 2023-02-23 12:54:30 +02:00
hello-2.c treewide: Replace kernel.h by printk.h 2023-02-23 12:54:30 +02:00
hello-3.c treewide: Replace kernel.h by printk.h 2023-02-23 12:54:30 +02:00
hello-4.c treewide: Replace kernel.h by printk.h 2023-02-23 12:54:30 +02:00
hello-5.c treewide: Replace kernel.h by printk.h 2023-02-23 12:54:30 +02:00
hello-sysfs.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
intrpt.c treewide: Replace kernel.h by printk.h 2023-02-23 12:54:30 +02:00
ioctl.c Correct name/location for ioctl-number.rst 2023-09-04 17:59:31 +00:00
kbleds.c kbleds: Replace magic with driver_name 2023-08-10 08:56:19 +08:00
Makefile Introduce static key in optimizations section 2023-05-02 10:33:36 +08:00
print_string.c Fix typo, grammar and remove duplicated words 2022-03-07 16:56:13 +08:00
procfs1.c procfs: Enforce Linux naming style 2023-03-24 11:36:33 +08:00
procfs2.c procfs: Remove unnecessary cleanup on proc_create failure 2023-07-23 18:41:46 +08:00
procfs3.c procfs: Remove unnecessary cleanup on proc_create failure 2023-07-23 18:41:46 +08:00
procfs4.c procfs: Remove unnecessary cleanup on proc_create failure 2023-07-23 18:41:46 +08:00
sched.c Enforce Linux kernel coding style (#88) 2021-09-02 15:15:07 +08:00
sleep.c procfs: Remove unnecessary cleanup on proc_create failure 2023-07-23 18:41:46 +08:00
start.c Apply editorial changes 2021-08-08 01:24:59 +08:00
static_key.c static_key: Include <linux/jump_label.h> (#210) 2023-07-05 23:14:49 +08:00
stop.c Fix the warnings raised by Sparse (#92) 2021-09-04 17:53:29 +08:00
syscall.c syscall: Use openat() instead of open() 2022-12-25 14:27:03 +08:00
vinput.c vinput: Fix missing error code 2022-11-04 01:16:14 +08:00
vinput.h Add description of sysfs attribute 2022-04-19 01:54:24 +08:00
vkbd.c Add description of sysfs attribute 2022-04-19 01:54:24 +08:00