linux_dsm_epyc7002/drivers/net/hamradio
Julia Lawall 769f01ef61 hamradio: 6pack: fix error return code
Set the return variable to an error code as done elsewhere in the function.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
(
if@p1 (\(ret < 0\|ret != 0\))
 { ... return ret; }
|
ret@p1 = 0
)
... when != ret = e1
    when != &ret
*if(...)
{
  ... when != ret = e2
      when forall
 return ret;
}

// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-02 03:30:35 -05:00
..
6pack.c hamradio: 6pack: fix error return code 2014-01-02 03:30:35 -05:00
baycom_epp.c drivers/net: rename random32() to prandom_u32() 2013-05-07 18:38:27 -07:00
baycom_par.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
baycom_ser_fdx.c hamradio: baycom: remove deprecated IRQF_DISABLED 2013-09-30 15:08:13 -04:00
baycom_ser_hdx.c hamradio: baycom: remove deprecated IRQF_DISABLED 2013-09-30 15:08:13 -04:00
bpqether.c hamradio: slight optimization of addr compare 2013-12-26 13:31:33 -05:00
dmascc.c drivers:net:misc: Remove unnecessary alloc/OOM messages 2013-02-04 13:22:35 -05:00
hdlcdrv.c drivers/net: rename random32() to prandom_u32() 2013-05-07 18:38:27 -07:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile Fix common misspellings 2011-03-31 11:26:23 -03:00
mkiss.c drivers/net/*: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
scc.c net: hamradio/scc: remove deprecated IRQF_DISABLED 2013-10-07 15:53:52 -04:00
yam.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-10-23 16:49:34 -04:00
z8530.h