| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Member data of timer struct (timer_list) is no longer available. Use timer_setup function to pass the parameter to the callback function
|
|
|
| |
Change usb_bulk_msg argument 5 data type (size_t to int *)
|
|
|
|
|
|
| |
The init_timer() function has been deprecated, use timer_setup() instead.
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
| |
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
|
|
|
| |
The IRQF_DISABLED flag has been removed from the Linux kernel, remove
it from the driver so it compiles again.
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>
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
The memset() function is now fortified, which means that provides both a
compile and runtime buffer overflow checks. Since the goal of the faulty
module is to cause a buffer overflow this function can't be used anymore
and instead have to be open coded.
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
|
|
|
|
| |
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’.
|