mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
pr_info everywhere
This commit is contained in:
@@ -15,7 +15,7 @@ static int work_func1(void *data)
|
||||
{
|
||||
int i = 0;
|
||||
while (!kthread_should_stop()) {
|
||||
printk(KERN_INFO "1 %d\n", i);
|
||||
pr_info("1 %d\n", i);
|
||||
usleep_range(1000000, 1000001);
|
||||
i++;
|
||||
if (i == 10)
|
||||
@@ -28,7 +28,7 @@ static int work_func2(void *data)
|
||||
{
|
||||
int i = 0;
|
||||
while (!kthread_should_stop()) {
|
||||
printk(KERN_INFO "2 %d\n", i);
|
||||
pr_info("2 %d\n", i);
|
||||
usleep_range(1000000, 1000001);
|
||||
i++;
|
||||
if (i == 10)
|
||||
|
||||
Reference in New Issue
Block a user