| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
|
|
| |
The init_timer() function has been deprecated, use timer_setup() instead.
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
|
|
|
| |
Use the wait_event_interruptible() function instead of the deprecated
interruptible_sleep_on().
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
|
|
|
| |
The struct file doesn't have a struct dentry member anymore, use the macro
to get the struct dentry for a struct file.
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
|
|
| |
The init_timer() function has been deprecated, use timer_setup() instead.
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
|
|
|
| |
Just let the shell lookup from the user's $PATH since some tools may not
be installed in the absolute path used in the scripts.
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
|
|
|
| |
The init_timer() function doesn't exist anymore, use the timer_setup()
function instead.
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
| |
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
| |
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
| |
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
| |
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
| |
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
|
|
|
|
| |
1. checkpatch.pl cleanups.
2. Add init_timer
3. Link tty ports.
Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
|
|
|
|
| |
Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
|
|
|
|
| |
Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
|
|
|
|
| |
Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
|
|
|
|
|
|
|
| |
Don't use create_proc_read_entry as that is deprecated,
but rather use proc_create and seq_file instead.
Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
|
|
|
|
|
|
|
| |
Don't use create_proc_read_entry as that is deprecated,
but rather use proc_create and seq_file instead.
Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
|
|
|
|
|
|
|
| |
Don't use create_proc_entry as that is deprecated,
but rather use proc_create instead.
Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
|
| |
|
|\
| |
| | |
Fix failure to compile the scull with kernel of version 4.6.0.
|
| |
| |
| |
| | |
changed in kernel of version 4.6.0
|
|\ \
| | |
| | | |
replace kmalloc with kzalloc
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
Omit compiler warning, as pci_enable_device needs to get
the return value checked.
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
|
|/
|
|
|
|
|
| |
This patch adds a newline at the end of the last line. This
makes reading the file via cat more convenient.
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
|
|\
| |
| | |
Fixed failure to load scull module and description typo in scull.init.
|
|/
|
|
|
|
| |
The scull.init initialization file fails to load scull module because
it tries to load modules in the configured paths with .o suffix instead
of .ko.
|
|\
| |
| | |
Proposial of README.Debian file that explains Debian users how to build examples for current prebuilt linux kernel
|
| |
| |
| |
| | |
examples for current prebuilt linux kernel
|
|\ \
| |/
|/| |
Fix a memory mapping bug in sbull.c
|
|/ |
|
|
|
|
|
|
| |
The member init_name replaces bus_id, a string that identifies the
device on the bus.
This patch reverts commit bca2bf1d1d28deee3bef691371d9aae2cbbb0f4b
|
|
|
|
|
|
|
|
|
|
|
|
| |
The return type of block_device_operations->release() changed from
int to void in commit db2a144bedd58b3dcf19950c2f476c58c9f39d18
Fixes the following compiler warning:
sbull/sbull.c:313:2: warning:
initialization from incompatible pointer type [enabled by default]
sbull/sbull.c:313:2: warning:
(near initialization for ‘sbull_ops.release’) [enabled by default]
|
|
|
|
|
| |
sbull/sbull.c:194:2: warning:
‘return’ with a value, in function returning void [enabled by default]
|
|
|
|
|
| |
Don't use create_proc_read_entry() as it is deprecated,
but rather use proc_create() and seq_file instead.
|
|
|
|
|
| |
Move the definition of LDDINC earlier into the file. This prevents the
following compile time error: implicit declaration of function ‘KBUILD_STR’.
|
|
|
|
|
| |
Move the definition of LDDINC earlier into the file. This prevents the
following compile time error: lddbus.h: No such file or directory.
|
|
|
|
|
| |
Don't use create_proc_read_entry() as it is deprecated,
but rather use proc_create() and seq_file instead.
|
|
|
|
|
| |
Move the definition of LDDINC earlier into the file. This prevents the
following compile time error: implicit declaration of function ‘KBUILD_STR’.
|
|
|
|
|
| |
Don't use create_proc_read_entry() as it is deprecated,
but rather use proc_create() and seq_file instead.
|
|
|
|
|
| |
Move the definition of LDDINC earlier into the file. This prevents the
following compile time error: implicit declaration of function ‘KBUILD_STR’.
|
|
|
|
|
| |
Don't use create_proc_read_entry() as it is deprecated,
but rather use proc_create() and seq_file instead.
|
|
|
|
|
| |
Move the definition of LDDINC earlier into the file. This prevents the
following compile time error: implicit declaration of function ‘KBUILD_STR’.
|
|\
| |
| | |
Scull updated for 3.10
|
| |
| |
| |
| |
| | |
Replace white space indentation introduced with the previous patch
with 8 characters width TABs to comply with the kernel coding style.
|
| |
| |
| |
| |
| | |
Remove commented line with deprecated create_proc_read_entry call
that was forgotten to remove.
|
| |
| |
| |
| |
| |
| | |
Don't use create_proc_entry() and create_proc_read_entry() as they
are deprecated, but rather use proc_create() and proc_create_data()
respectively and seq_file instead.
|
|/
|
|
|
| |
Move the definition of LDDINC earlier into the file. This prevents the
following compile time error: implicit declaration of function ‘KBUILD_STR’.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The initial goal of this project was to update the LDD3
example drivers to recent kernels so they can be used by
students to learn about driver development under Linux.
The idea was to not only update the drivers but also add
new drivers that show newer kernel facilities that did
not exist (or was not common) by the time the LDD3 book
was written.
Unfortunately I haven't had time to work on this for
years so it's better to just try to keep the current
drivers building and working.
Also, only maintain the master branch that should track
Linus master tree. Anyone that is interested on kernel
hacking should develop against the latest master tree
anyways. If someone needs to use an older kernel version
it shouldn't be hard to figure out what commit id could
be used for any specific kernel version.
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|