Skip to content

Commit 98201b8

Browse files
committed
Fix typos via codespell
atleast -> at least encouter -> encounter
1 parent 47663d6 commit 98201b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/chardev2.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ static struct file_operations fops = {
196196
/* Initialize the module - Register the character device */
197197
static int __init chardev2_init(void)
198198
{
199-
/* Register the character device (atleast try) */
199+
/* Register the character device (at least try) */
200200
int ret_val = register_chrdev(MAJOR_NUM, DEVICE_NAME, &fops);
201201

202202
/* Negative values signify an error */

lkmpg.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -1905,7 +1905,7 @@ \subsection{Interrupt Handlers}
19051905

19061906
The flags can be used for specify behaviors of the IRQ.
19071907
For example, use \cpp|IRQF_SHARED| to indicate you are willing to share the IRQ with other interrupt handlers (usually because a number of hardware devices sit on the same IRQ); use the \cpp|IRQF_ONESHOT| to indicate that the IRQ is not reenabled after the handler finished.
1908-
It should be noted that in some materials, you may encouter another set of IRQ flags named with the \cpp|SA| prefix.
1908+
It should be noted that in some materials, you may encounter another set of IRQ flags named with the \cpp|SA| prefix.
19091909
For example, the \cpp|SA_SHIRQ| and the \cpp|SA_INTERRUPT|.
19101910
Those are the the IRQ flags in the older kernels.
19111911
They have been removed completely.

0 commit comments

Comments
 (0)