Commit Graph

361 Commits

Author SHA1 Message Date
7ae8eacab0 Merge pull request #236 from mechanicalamit/lkmpgtex-tasklet
Change word in tasklet description
2023-10-07 09:19:04 +08:00
8150c1dead Change word in tasklet description
The word 'defator' is unable to be found in a lexicon. Change the word
'defator' with 'drawbacks' which should imply the negative meaning intended
in the sentence.
2023-10-06 23:13:09 +02:00
866eba0077 Merge pull request #235 from mechanicalamit/atomic-patches
Add newline to last pr_info to force dmesg to flush
2023-09-29 02:28:23 +08:00
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
7f88a37f09 Merge pull request #234 from mechanicalamit/completions-simplify
Simplify code by removal of outer struct encapsulating struct completions
2023-09-28 14:55:52 +08:00
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
c6b02adc98 CI: Only perform extensive checks on source file changes 2023-09-18 11:30:54 +08:00
be9aa2cd4d Exclude generated files 2023-09-18 02:06:51 +08:00
527e118da8 CI: Bump dependency versions 2023-09-18 02:05:28 +08:00
209aa95a38 Explicitly mention 6.x kernels 2023-09-17 18:24:27 +08:00
d0f86a29f0 Remove module * parameter from class_create() in chardev2.c (#228)
From v6.4, class_create() does not have module *
Same fix as commit 0addb868dc55 to chardev.c
2023-09-17 18:23:45 +08:00
514f206da0 Merge pull request #226 from mechanicalamit/ioctl.c-patches
Correct name/location for ioctl-number.rst
2023-09-17 18:11:00 +08:00
e2e8e1106d CI: Fix "unreplaced" warnings by using git source (#229)
Because of sparse-latest.tar.gz has not been updated since 06-Sep-2021,
we are encoutering an old bug, 0e1aae55e49c ("fix "unreplaced" warnings
caused by using typeof() on inline functions") [1], that has been fixed
in the newest version. So, let's switch to the git source tree [2]
instead of using sparse-latest.tar.gz [3].

[1] https://git.kernel.org/pub/scm/devel/sparse/sparse.git/commit/?id=0e1aae55e49cad7ea43848af5b58ff0f57e7af99
[2] git://git.kernel.org/pub/scm/devel/sparse/sparse.git
[3] http://www.kernel.org/pub/software/devel/sparse/dist/sparse-latest.tar.gz
2023-09-17 18:09:48 +08:00
6341842a9b Correct name/location for ioctl-number.rst
ioctl-number.rst in Documentation has been renamed and moved

See commits
- 049500715e7
- 08536105d93
2023-09-04 17:59:31 +00:00
5fd15075f2 Merge pull request #225 from visitorckw/master
Fix typo and remove duplicated words
2023-09-04 10:01:30 +08:00
ee617a1e53 Fix typo 2023-09-04 04:58:31 +08:00
d45485f637 Remove duplicated words 2023-09-04 04:53:07 +08:00
0ad840deec Merge pull request #224 from fourcolor/master
Fix typo
2023-09-03 15:33:52 +08:00
34eb62045e Fix typo 2023-09-03 13:06:13 +08:00
0addb868dc Remove module * parameter from class_create() (#222)
From v6.4, class_create() does not have module *
See commit 11ba11 :
> driver core: class: remove module * from class_create()
> 
> The module pointer in class_create() never actually did anything,
> and it shouldn't have been requred to be set as a parameter even
> if it did something.  So just remove it and fix up all callers of the
> function in the kernel tree at the same time.
2023-09-03 02:24:35 +08:00
c94b672959 Merge pull request #223 from visitorckw/master
Fix typo
2023-09-02 22:48:12 +08:00
292339e628 Fix typo
Capitalized the first letter in a sentence.
2023-09-02 19:57:53 +08:00
863a9e247f Merge pull request #221 from visitorckw/master
Fix typo
2023-09-01 09:00:29 +08:00
e976c32ceb Fix typo 2023-09-01 04:32:57 +08:00
edf6615740 Merge pull request #219 from eeeXun/archlinux
Update dependencies for Arch Linux
2023-08-15 01:41:08 +08:00
8c33f2eee8 Update dependencies for Arch Linux 2023-08-15 00:25:14 +08:00
90de6dcf9d Refine contributor list 2023-08-11 10:38:18 +08:00
7c4e64e51a Proofread 2023-08-10 15:27:11 +08:00
55aee85570 Always use Debian GNU/Linux explicitly 2023-08-10 15:05:19 +08:00
261332c805 Proofread 2023-08-10 15:02:31 +08:00
f1bd58f68d Update contributor list 2023-08-10 14:47:42 +08:00
12be76c5dc Proofread 2023-08-10 14:39:31 +08:00
06e1dd1acd Update contributor list 2023-08-10 14:31:33 +08:00
fae9ac44d4 Proofread 2023-08-10 10:26:11 +08:00
ae308fd092 Proofread 2023-08-10 10:06:39 +08:00
e6e8e48d81 Proofread 2023-08-10 10:00:50 +08:00
1ab94aa6d9 Merge pull request #218 from linD026/master
kbleds: Replace magic with driver_name
2023-08-10 09:32:45 +08:00
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
8172c031a6 Merge pull request #213 from keytouch/master
procfs: Remove unnecessary cleanup on proc_create failure
2023-07-23 21:17:38 +08:00
5e2b7aa2e3 procfs: Remove unnecessary cleanup on proc_create failure 2023-07-23 18:41:46 +08:00
433d031ae0 Merge pull request #212 from tylerfanelli/dnf_notes
headers: Update header installation for Fedora
2023-07-08 12:11:00 +08:00
4f0fa3b17c headers: Update header installation for Fedora 2023-07-08 00:00:20 -04:00
9e9f5a8bf8 static_key: Include <linux/jump_label.h> (#210) 2023-07-05 23:14:49 +08:00
befbaf085b examples: Add missing __init/__exit (#209)
Close #207
2023-07-05 09:44:21 +08:00
d68fd7623e Merge pull request #208 from samuelerickson977/master
include linux/init.h in bottomhalf.c
2023-07-05 07:56:03 +08:00
8a5463ddd9 include linux/init.h in bottomhalf.c 2023-07-04 10:10:18 -05:00
f1e60b0a01 Merge pull request #206 from ekangmonyet/master
Cleanup redundant workflow step, fix release body and timestamp
2023-07-04 05:37:06 +08:00
3c66525ef2 Delete old release and retag latest commit
This ensures the latest commit message and timestamp can be correctly
included in the release.
2023-07-04 00:36:05 +08:00
fe46d27faf Revert "Delete existing release asset before releasing"
This reverts commit 7ee66c559ff12c254d04c65c54325acbb655133a.
2023-07-03 09:32:35 +08:00
738727bbcc Merge pull request #200 from lyctw/static_key
Introduce static key in optimizations section
2023-05-02 10:58:15 +08:00