mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[AX.25]: Mark all kmalloc users __must_check
The recent fix 0506d4068b
made obvious that
error values were not being propagated through the AX.25 stack. To help
with that this patch marks all kmalloc users in the AX.25, NETROM and
ROSE stacks as __must_check.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bd2b334378
commit
c9266b99e2
6 changed files with 17 additions and 14 deletions
|
@ -193,8 +193,8 @@ extern struct file_operations rose_neigh_fops;
|
|||
extern struct file_operations rose_nodes_fops;
|
||||
extern struct file_operations rose_routes_fops;
|
||||
|
||||
extern int rose_add_loopback_neigh(void);
|
||||
extern int rose_add_loopback_node(rose_address *);
|
||||
extern int __must_check rose_add_loopback_neigh(void);
|
||||
extern int __must_check rose_add_loopback_node(rose_address *);
|
||||
extern void rose_del_loopback_node(rose_address *);
|
||||
extern void rose_rt_device_down(struct net_device *);
|
||||
extern void rose_link_device_down(struct net_device *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue