Re: [PATCH v3] isdn: eicon: fix a missing-check bug

2018-05-22 Thread David Miller
From: Wenwen Wang Date: Mon, 21 May 2018 01:58:07 -0500 > In divasmain.c, the function divas_write() firstly invokes the function > diva_xdi_open_adapter() to open the adapter that matches with the adapter > number provided by the user, and then invokes the function diva_xdi_write() > to perform

[PATCH v3] isdn: eicon: fix a missing-check bug

2018-05-20 Thread Wenwen Wang
In divasmain.c, the function divas_write() firstly invokes the function diva_xdi_open_adapter() to open the adapter that matches with the adapter number provided by the user, and then invokes the function diva_xdi_write() to perform the write operation using the matched adapter. The two functions d