Skip to content

Commit d2f3e10

Browse files
laarmengregkh
authored andcommitted
staging: fwserial: fix checkpatch permission warnings
Fix the following warnings: Symbolic permissions are not preferred. Consider using octal permissions. Signed-off-by: Simon Chopin <chopin.simon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1d191e1 commit d2f3e10

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/staging/fwserial/fwserial.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ static int num_ttys = 4; /* # of std ttys to create per fw_card */
3939
static bool auto_connect = true; /* try to VIRT_CABLE to every peer */
4040
static bool create_loop_dev = true; /* create a loopback device for each card */
4141

42-
module_param_named(ttys, num_ttys, int, S_IRUGO | S_IWUSR);
43-
module_param_named(auto, auto_connect, bool, S_IRUGO | S_IWUSR);
44-
module_param_named(loop, create_loop_dev, bool, S_IRUGO | S_IWUSR);
42+
module_param_named(ttys, num_ttys, int, 0644);
43+
module_param_named(auto, auto_connect, bool, 0644);
44+
module_param_named(loop, create_loop_dev, bool, 0644);
4545

4646
/*
4747
* Threshold below which the tty is woken for writing

0 commit comments

Comments
 (0)