the hardware driver when the HDLC device is being closed
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: c19b6d246a35 ("drivers/net: support hdlc function for QE-UCC")
Signed-off-by: Alexandra Diupina
---
v5: do some refactoring as Paolo Abeni and
Christ
the hardware driver when the HDLC device is being closed
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: c19b6d246a35 ("drivers/net: support hdlc function for QE-UCC")
Signed-off-by: Alexandra Diupina
---
v4: undo all the things done prior to hdlc_open() as
Jaku
s/net: support hdlc function for QE-UCC")
Signed-off-by: Alexandra Diupina
---
v3: Fix the commits tree
v2: Remove the 'rc' variable (stores the return value of the
hdlc_open()) as Christophe Leroy suggested
drivers/net/wan/fsl_ucc_hdlc.c | 2 +-
1 file changed, 1 insertion(+), 1 delet
s/net: support hdlc function for QE-UCC")
Signed-off-by: Alexandra Diupina
---
v2: Remove the 'rc' variable (stores the return value of the
hdlc_open()) as Christophe Leroy suggested
drivers/net/wan/fsl_ucc_hdlc.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --g
s/net: support hdlc function for QE-UCC")
Signed-off-by: Alexandra Diupina
---
drivers/net/wan/fsl_ucc_hdlc.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wan/fsl_ucc_hdlc.c b/drivers/net/wan/fsl_ucc_hdlc.c
index 47c2ad7a3e42..cdd9489c712e 100644
--- a/d