Kuan-Wei Chiu
d45485f637
Remove duplicated words
2023-09-04 04:53:07 +08:00
Jim Huang
0ad840deec
Merge pull request #224 from fourcolor/master
...
Fix typo
2023-09-03 15:33:52 +08:00
Shih-Sheng Yang
34eb62045e
Fix typo
2023-09-03 13:06:13 +08:00
Amit Dhingra
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
Jim Huang
c94b672959
Merge pull request #223 from visitorckw/master
...
Fix typo
2023-09-02 22:48:12 +08:00
Kuan-Wei Chiu
292339e628
Fix typo
...
Capitalized the first letter in a sentence.
2023-09-02 19:57:53 +08:00
Jim Huang
863a9e247f
Merge pull request #221 from visitorckw/master
...
Fix typo
2023-09-01 09:00:29 +08:00
visitorckw
e976c32ceb
Fix typo
2023-09-01 04:32:57 +08:00
Jim Huang
edf6615740
Merge pull request #219 from eeeXun/archlinux
...
Update dependencies for Arch Linux
2023-08-15 01:41:08 +08:00
eeeXun
8c33f2eee8
Update dependencies for Arch Linux
2023-08-15 00:25:14 +08:00
Jim Huang
90de6dcf9d
Refine contributor list
2023-08-11 10:38:18 +08:00
Jim Huang
7c4e64e51a
Proofread
2023-08-10 15:27:11 +08:00
Jim Huang
55aee85570
Always use Debian GNU/Linux explicitly
2023-08-10 15:05:19 +08:00
Jim Huang
261332c805
Proofread
2023-08-10 15:02:31 +08:00
Jim Huang
f1bd58f68d
Update contributor list
2023-08-10 14:47:42 +08:00
Jim Huang
12be76c5dc
Proofread
2023-08-10 14:39:31 +08:00
Jim Huang
06e1dd1acd
Update contributor list
2023-08-10 14:31:33 +08:00
Jim Huang
fae9ac44d4
Proofread
2023-08-10 10:26:11 +08:00
Jim Huang
ae308fd092
Proofread
2023-08-10 10:06:39 +08:00
Jim Huang
e6e8e48d81
Proofread
2023-08-10 10:00:50 +08:00
Jim Huang
1ab94aa6d9
Merge pull request #218 from linD026/master
...
kbleds: Replace magic with driver_name
2023-08-10 09:32:45 +08:00
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
Jim Huang
8172c031a6
Merge pull request #213 from keytouch/master
...
procfs: Remove unnecessary cleanup on proc_create failure
2023-07-23 21:17:38 +08:00
keytouch
5e2b7aa2e3
procfs: Remove unnecessary cleanup on proc_create failure
2023-07-23 18:41:46 +08:00
Jim Huang
433d031ae0
Merge pull request #212 from tylerfanelli/dnf_notes
...
headers: Update header installation for Fedora
2023-07-08 12:11:00 +08:00
Tyler Fanelli
4f0fa3b17c
headers: Update header installation for Fedora
2023-07-08 00:00:20 -04:00
Sam Erickson
9e9f5a8bf8
static_key: Include <linux/jump_label.h> ( #210 )
2023-07-05 23:14:49 +08:00
Chih-En Lin
befbaf085b
examples: Add missing __init/__exit ( #209 )
...
Close #207
2023-07-05 09:44:21 +08:00
Jim Huang
d68fd7623e
Merge pull request #208 from samuelerickson977/master
...
include linux/init.h in bottomhalf.c
2023-07-05 07:56:03 +08:00
Sam Erickson
8a5463ddd9
include linux/init.h in bottomhalf.c
2023-07-04 10:10:18 -05:00
Jim Huang
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
Ekang Monyet
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
Ekang Monyet
fe46d27faf
Revert "Delete existing release asset before releasing"
...
This reverts commit 7ee66c559f
.
2023-07-03 09:32:35 +08:00
Jim Huang
738727bbcc
Merge pull request #200 from lyctw/static_key
...
Introduce static key in optimizations section
2023-05-02 10:58:15 +08:00
Peter Lin
421b9b04fe
Introduce static key in optimizations section
...
This patch introduces static key technique and adds a kernel module
to demostrate how to use static key to optimize an almost unlikely
branch, the module can interact with userspace thru a character device.
Signed-off-by: Peter Lin <peterlin@qilai.dev>
2023-05-02 10:33:36 +08:00
Jim Huang
a284eabdb5
Merge pull request #202 from linD026/master
...
CI: Switch Smatch source code to GitHub mirror
2023-05-01 23:48:53 +08:00
Chih-En Lin
16e0656b2d
CI: Switch Smatch source code to GitHub mirror
...
Since the Smatch repository is unavailable recently [1], let's switch
to GitHub mirror, https://github.com/error27/smatch.git [2], instead
of using https://repo.or.cz/smatch.git .
[1] https://lore.kernel.org/all/Y1qf7w%2Fjo8FH5I8G@kadam/
[2] https://lore.kernel.org/all/20220810105926.GS3460@kadam/
2023-05-01 23:36:23 +08:00
Jim Huang
ed0b93c152
Merge pull request #198 from linD026/master
...
Remove sleep_on family
2023-04-27 11:28:05 +08:00
Chih-En Lin
d2d54ca639
Remove sleep_on family
...
Since the commit b8780c363d80 ("sched: remove sleep_on() and friends
"), the description about sleep_on is incorrect and the example code has
been fixed by replacing it with wait_event family. Let's also fix the
description to match the corrected code.
2023-04-27 10:20:48 +08:00
Jim Huang
cc37e59a63
Fix macOS prerequisites
2023-03-26 09:21:53 +08:00
Jim Huang
6eb7bd5d23
Merge pull request #193 from linD026/master
...
procfs: Enforce Linux naming style
2023-03-24 12:23:24 +08:00
Chih-En Lin
23c0a73c78
procfs: Enforce Linux naming style
2023-03-24 11:36:33 +08:00
Jim Huang
45ac4087d0
Merge pull request #189 from linD026/master
...
Improve the compatibility and fix the missing header
2023-03-14 09:01:22 +08:00
linD026
4ee80a3e16
completion: Improve the compatibility with v5.17+
...
Since v5.17-rc1, particularly after the commit cead1855266 ("exit:
Rename complete_and_exit to kthread_complete_and_exit"),
complete_and_exit() is renamed to kthread_complete_and_exit().
Close #188
2023-03-14 08:26:19 +08:00
linD026
8a5879a0fa
chardev2: Fix missing header for {get, put}_user
2023-03-14 08:15:06 +08:00
Jim Huang
cdf7b42ac1
Merge pull request #187 from linD026/master
...
Relocate Archlinux code snippet to avoid confusion
2023-02-23 21:58:20 +08:00
Chih-En Lin
b0d4204405
Relocate Archlinux code snippet to avoid confusion
...
Close #185
2023-02-23 21:03:49 +08:00
Jim Huang
a91431a2e3
Merge pull request #186 from ashevche/kernel.h
...
Discourage kernel.h usage and other header cleanups
2023-02-23 20:33:11 +08:00
Andy Shevchenko
b8bbcd8a07
treewide: Replace kernel.h by printk.h
...
The kernel.h should be discouraged for use.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2023-02-23 12:54:30 +02:00
Andy Shevchenko
e62dff0df4
treewide: Clean up the headers
...
The rule of thumb is to include the headers we are the direct user of.
In particular, if we need an atomic API, we include <linux/atomic.h>.
On the other hand we should not use headers for no reason. In particular,
if we are not doing any IRQ job, why is the <linux/irq.h> included?
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2023-02-23 12:54:30 +02:00