diff --git a/index.html b/index.html index 6fcec6d4..87126923 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,7 @@

The Linux Kernel Module Programming Guide

Peter Jay Salzman, Michael Burian, Ori Pomerantz, Bob Mottram, Jim Huang

-
April 13, 2024
+
April 15, 2024
@@ -1548,7 +1548,7 @@

6.3 register_chrdev_region if you know the device major number and alloc_chrdev_region - if you would like to allocate a dynamicly-allocated major number. + if you would like to allocate a dynamically-allocated major number.

Second, we should initialize the data structure struct cdev for our char device and associate it with the device numbers. To initialize the @@ -2545,7 +2545,7 @@

34{ 35    int error = 0; 36 -37    pr_info("mymodule: initialised\n"); +37    pr_info("mymodule: initialized\n"); 38 39    mymodule = kobject_create_and_add("mymodule", kernel_kobj); 40    if (!mymodule) diff --git a/lkmpg-for-ht.html b/lkmpg-for-ht.html index 6fcec6d4..87126923 100644 --- a/lkmpg-for-ht.html +++ b/lkmpg-for-ht.html @@ -18,7 +18,7 @@

The Linux Kernel Module Programming Guide

Peter Jay Salzman, Michael Burian, Ori Pomerantz, Bob Mottram, Jim Huang

-
April 13, 2024
+
April 15, 2024
@@ -1548,7 +1548,7 @@

6.3 register_chrdev_region if you know the device major number and alloc_chrdev_region - if you would like to allocate a dynamicly-allocated major number. + if you would like to allocate a dynamically-allocated major number.

Second, we should initialize the data structure struct cdev for our char device and associate it with the device numbers. To initialize the @@ -2545,7 +2545,7 @@

34{ 35    int error = 0; 36 -37    pr_info("mymodule: initialised\n"); +37    pr_info("mymodule: initialized\n"); 38 39    mymodule = kobject_create_and_add("mymodule", kernel_kobj); 40    if (!mymodule)