nhmk/examples
demonsome 50e9d9176f
chardev: Revise comment on device node (#23)
The device file create in this example is "chardev". 
So input command "sudo cat /dev/chardev" will get a valid message
"I already told you %d times Hello world!"
2021-07-31 23:03:16 +08:00
..
other Make each source file more consistent 2021-07-22 11:25:32 +08:00
.clang-format Enforce the customized style for example code 2021-07-22 06:58:13 +08:00
bottomhalf.c Make each source file more consistent 2021-07-22 11:25:32 +08:00
chardev.c chardev: Revise comment on device node (#23) 2021-07-31 23:03:16 +08:00
chardev.h Make each source file more consistent 2021-07-22 11:25:32 +08:00
chardev2.c Shorten sample code 2021-07-22 10:55:14 +08:00
completions.c Make each source file more consistent 2021-07-22 11:25:32 +08:00
cryptosha256.c Make each source file more consistent 2021-07-22 11:25:32 +08:00
cryptosk.c Make each source file more consistent 2021-07-22 11:25:32 +08:00
devicemodel.c Fix trivial tweak for missing comma 2021-07-26 03:08:27 +08:00
example_atomic.c Make each source file more consistent 2021-07-22 11:25:32 +08:00
example_mutex.c Make each source file more consistent 2021-07-22 11:25:32 +08:00
example_rwlock.c Make each source file more consistent 2021-07-22 11:25:32 +08:00
example_spinlock.c Make each source file more consistent 2021-07-22 11:25:32 +08:00
example_tasklet.c Make each source file more consistent 2021-07-22 11:25:32 +08:00
hello-1.c Enforce the customized style for example code 2021-07-22 06:58:13 +08:00
hello-2.c Enforce the customized style for example code 2021-07-22 06:58:13 +08:00
hello-3.c Enforce the customized style for example code 2021-07-22 06:58:13 +08:00
hello-4.c Drop duplicated module author information 2021-07-22 07:29:07 +08:00
hello-5.c Drop duplicated module author information 2021-07-22 07:29:07 +08:00
hello-sysfs.c Make each source file more consistent 2021-07-22 11:25:32 +08:00
intrpt.c Drop duplicated copyright notice 2021-07-22 10:53:45 +08:00
ioctl.c Make each source file more consistent 2021-07-22 11:25:32 +08:00
kbleds.c Drop duplicated module author information 2021-07-22 07:29:07 +08:00
Makefile Emphasize on 5.x kernel 2021-07-22 08:31:47 +08:00
print_string.c Remove linux-2.6 specific checks 2021-07-22 07:33:27 +08:00
procfs1.c Avoid strlen by assigning explicit length of string for proc_read (#18) 2021-07-29 16:10:52 +08:00
procfs2.c Avoid strlen by assigning explicit length of string for proc_read (#18) 2021-07-29 16:10:52 +08:00
procfs3.c Make each source file more consistent 2021-07-22 11:25:32 +08:00
procfs4.c Make each source file more consistent 2021-07-22 11:25:32 +08:00
sched.c Make each source file more consistent 2021-07-22 11:25:32 +08:00
sleep.c Improve the compatibility with kernel version < 5.6 2021-07-22 07:17:31 +08:00
start.c Enforce the customized style for example code 2021-07-22 06:58:13 +08:00
stop.c Enforce the customized style for example code 2021-07-22 06:58:13 +08:00
syscall.c Reduce header inclusion 2021-07-22 10:31:24 +08:00