Skip to content

Commit aa07a99

Browse files
bvanasscheRoland Dreier
authored andcommitted
IB: Fix typo in udev rule documentation
The proper syntax for udev rules is KERNEL==... instead of KERNEL=... Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com> Reported-by: Lukasz Jurewicz <lukasz.jurewicz@gmail.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
1 parent 0eca52a commit aa07a99

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎Documentation/infiniband/user_mad.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ Setting IsSM Capability Bit
128128
To create the appropriate character device files automatically with
129129
udev, a rule like
130130

131-
KERNEL="umad*", NAME="infiniband/%k"
132-
KERNEL="issm*", NAME="infiniband/%k"
131+
KERNEL=="umad*", NAME="infiniband/%k"
132+
KERNEL=="issm*", NAME="infiniband/%k"
133133

134134
can be used. This will create device nodes named
135135

‎Documentation/infiniband/user_verbs.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Memory pinning
5858
To create the appropriate character device files automatically with
5959
udev, a rule like
6060

61-
KERNEL="uverbs*", NAME="infiniband/%k"
61+
KERNEL=="uverbs*", NAME="infiniband/%k"
6262

6363
can be used. This will create device nodes named
6464

0 commit comments

Comments
 (0)