소스 검색

Bluetooth: Fix consistency with u16 integer type in mgmt pending_cmd

For consistency the integer type should be u16 and not __u16.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Johan Hedberg 13 년 전
부모
커밋
fc2f4b13d8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      net/bluetooth/mgmt.c

+ 1 - 1
net/bluetooth/mgmt.c

@@ -36,7 +36,7 @@
 
 
 struct pending_cmd {
 struct pending_cmd {
 	struct list_head list;
 	struct list_head list;
-	__u16 opcode;
+	u16 opcode;
 	int index;
 	int index;
 	void *param;
 	void *param;
 	struct sock *sk;
 	struct sock *sk;