Loading arch/mips/kernel/rtlx.c +2 −2 Original line number Diff line number Diff line Loading @@ -94,12 +94,12 @@ int rtlx_open(int index, int can_sleep) int ret = 0; if (index >= RTLX_CHANNELS) { pr_debug(KERN_DEBUG "rtlx_open index out of range\n"); pr_debug("rtlx_open index out of range\n"); return -ENOSYS; } if (atomic_inc_return(&channel_wqs[index].in_open) > 1) { pr_debug(KERN_DEBUG "rtlx_open channel %d already opened\n", index); pr_debug("rtlx_open channel %d already opened\n", index); ret = -EBUSY; goto out_fail; } Loading Loading
arch/mips/kernel/rtlx.c +2 −2 Original line number Diff line number Diff line Loading @@ -94,12 +94,12 @@ int rtlx_open(int index, int can_sleep) int ret = 0; if (index >= RTLX_CHANNELS) { pr_debug(KERN_DEBUG "rtlx_open index out of range\n"); pr_debug("rtlx_open index out of range\n"); return -ENOSYS; } if (atomic_inc_return(&channel_wqs[index].in_open) > 1) { pr_debug(KERN_DEBUG "rtlx_open channel %d already opened\n", index); pr_debug("rtlx_open channel %d already opened\n", index); ret = -EBUSY; goto out_fail; } Loading