Skip to content

Commit 009228d

Browse files
arndbJonathan Corbet
authored andcommitted
display7seg: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent e73322c commit 009228d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/sbus/char/display7seg.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ static int d7s_open(struct inode *inode, struct file *f)
9494
{
9595
if (D7S_MINOR != iminor(inode))
9696
return -ENODEV;
97+
cycle_kernel_lock();
9798
atomic_inc(&d7s_users);
9899
return 0;
99100
}

0 commit comments

Comments
 (0)