Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d10a605b
Commit
d10a605b
authored
Jul 12, 2004
by
Alexander Viro
Committed by
Linus Torvalds
Jul 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sparse: NULL noise removal in drivers/sbus
parent
9e0ebf74
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
drivers/sbus/char/display7seg.c
drivers/sbus/char/display7seg.c
+1
-1
drivers/sbus/char/envctrl.c
drivers/sbus/char/envctrl.c
+1
-1
drivers/sbus/char/flash.c
drivers/sbus/char/flash.c
+2
-2
drivers/sbus/dvma.c
drivers/sbus/dvma.c
+1
-1
drivers/sbus/sbus.c
drivers/sbus/sbus.c
+4
-4
No files found.
drivers/sbus/char/display7seg.c
View file @
d10a605b
...
...
@@ -70,7 +70,7 @@ MODULE_SUPPORTED_DEVICE
* FLIP - Inverts display for upside-down mounted board
* bits 0-4 - 7-segment display contents
*/
volatile
u8
*
d7s_regs
=
0
;
volatile
u8
*
d7s_regs
=
NULL
;
static
inline
void
d7s_free
(
void
)
{
...
...
drivers/sbus/char/envctrl.c
View file @
d10a605b
...
...
@@ -719,7 +719,7 @@ envctrl_ioctl(struct inode *inode, struct file *file,
static
int
envctrl_open
(
struct
inode
*
inode
,
struct
file
*
file
)
{
file
->
private_data
=
0
;
file
->
private_data
=
NULL
;
return
0
;
}
...
...
drivers/sbus/char/flash.c
View file @
d10a605b
...
...
@@ -161,10 +161,10 @@ static struct miscdevice flash_dev = { FLASH_MINOR, "flash", &flash_fops };
static
int
__init
flash_init
(
void
)
{
struct
sbus_bus
*
sbus
;
struct
sbus_dev
*
sdev
=
0
;
struct
sbus_dev
*
sdev
=
NULL
;
#ifdef CONFIG_PCI
struct
linux_ebus
*
ebus
;
struct
linux_ebus_device
*
edev
=
0
;
struct
linux_ebus_device
*
edev
=
NULL
;
struct
linux_prom_registers
regs
[
2
];
int
len
,
nregs
;
#endif
...
...
drivers/sbus/dvma.c
View file @
d10a605b
...
...
@@ -29,7 +29,7 @@ void __init init_one_dvma(struct sbus_dma *dma, int num_dma)
{
printk
(
"dma%d: "
,
num_dma
);
dma
->
next
=
0
;
dma
->
next
=
NULL
;
dma
->
running
=
0
;
/* No transfers going on as of yet */
dma
->
allocated
=
0
;
/* No one has allocated us yet */
switch
(
sbus_readl
(
dma
->
regs
+
DMA_CSR
)
&
DMA_DEVICE_ID
)
{
...
...
drivers/sbus/sbus.c
View file @
d10a605b
...
...
@@ -192,7 +192,7 @@ static void __init sbus_do_child_siblings(int start_node,
while
((
this_node
=
prom_getsibling
(
this_node
))
!=
0
)
{
this_dev
->
next
=
kmalloc
(
sizeof
(
struct
sbus_dev
),
GFP_ATOMIC
);
this_dev
=
this_dev
->
next
;
this_dev
->
next
=
0
;
this_dev
->
next
=
NULL
;
this_dev
->
parent
=
parent
;
this_dev
->
bus
=
sbus
;
...
...
@@ -202,7 +202,7 @@ static void __init sbus_do_child_siblings(int start_node,
this_dev
->
child
=
kmalloc
(
sizeof
(
struct
sbus_dev
),
GFP_ATOMIC
);
this_dev
->
child
->
bus
=
sbus
;
this_dev
->
child
->
next
=
0
;
this_dev
->
child
->
next
=
NULL
;
fill_sbus_device
(
prom_getchild
(
this_node
),
this_dev
->
child
);
sbus_do_child_siblings
(
prom_getchild
(
this_node
),
this_dev
->
child
,
this_dev
,
sbus
);
...
...
@@ -443,7 +443,7 @@ static int __init sbus_init(void)
GFP_ATOMIC
);
/* Fill it */
this_dev
->
child
->
bus
=
sbus
;
this_dev
->
child
->
next
=
0
;
this_dev
->
child
->
next
=
NULL
;
fill_sbus_device
(
prom_getchild
(
sbus_devs
),
this_dev
->
child
);
sbus_do_child_siblings
(
prom_getchild
(
sbus_devs
),
...
...
@@ -473,7 +473,7 @@ static int __init sbus_init(void)
GFP_ATOMIC
);
/* Fill it */
this_dev
->
child
->
bus
=
sbus
;
this_dev
->
child
->
next
=
0
;
this_dev
->
child
->
next
=
NULL
;
fill_sbus_device
(
prom_getchild
(
sbus_devs
),
this_dev
->
child
);
sbus_do_child_siblings
(
prom_getchild
(
sbus_devs
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment