lkmpg/examples
Amit Dhingra e56fc58bf3 Add newline to last pr_info to force dmesg to flush
dmesg only flushes when it encounter a newline. Without a newline, the line
is held in memory pending another printk. In this particular example
(example_atomic.c), the last pr_info in atomic_bitwise() prints when
another printk happens (either by another module, or __exit for this
module.

This can be confusing to new learner. This patch adds a newline to the last
pr_info forcing dmesg to print to the screen when the module is loaded.
2023-09-28 15:32:50 +00:00
..
2022-02-21 00:53:29 +08:00
2023-03-24 11:36:33 +08:00
2021-08-08 01:24:59 +08:00
2021-09-04 17:53:29 +08:00
2022-11-04 01:16:14 +08:00
2022-04-19 01:54:24 +08:00
2022-04-19 01:54:24 +08:00