lkmpg/examples
Chih-En Lin b9b37fc39f kbleds: Replace magic with driver_name
Since the commit 5052df99d3bc ("tty: remove TTY_DRIVER_MAGIC") [1],
the magic field no longer exists in the tty_driver. Instead of
printing the magic field, use the driver_name field.

[1] https://lore.kernel.org/linux-doc/20220907231109.htnfxzmr6wkuhn2v@tarta.nabijaczleweli.xyz/

Close #216
Close #217
2023-08-10 08:56:19 +08: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 treewide: Clean up the headers 2023-02-23 12:54:30 +02:00
chardev.h Fix incoherent ioctl examples (#139) 2022-02-21 00:53:29 +08:00
chardev2.c chardev2: Fix missing header for {get, put}_user 2023-03-14 08:15:06 +08:00
completions.c examples: Add missing __init/__exit (#209) 2023-07-05 09:44:21 +08: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 examples: Add missing __init/__exit (#209) 2023-07-05 09:44:21 +08: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