.pylintrc: warning: ignored by one of the .gitignore files ../net/bluetooth/hci_codec.c: note: in included file: ../include/net/bluetooth/hci_core.h:148:35: warning: array of flexible structures ../net/bluetooth/sco.c: note: in included file: ../include/net/bluetooth/hci_core.h:148:35: warning: array of flexible structures ../drivers/bluetooth/hci_ag6xx.c:257:24: warning: restricted __le32 degrades to integer ../drivers/bluetooth/hci_mrvl.c:170:23: warning: restricted __le16 degrades to integer ../drivers/bluetooth/hci_mrvl.c:203:23: warning: restricted __le16 degrades to integer ../drivers/bluetooth/virtio_bt.c:311:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:311:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:311:25: bad type * ../drivers/bluetooth/virtio_bt.c:311:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:311:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:314:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:314:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:314:25: bad type * ../drivers/bluetooth/virtio_bt.c:314:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:314:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:349:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:349:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:349:25: bad type * ../drivers/bluetooth/virtio_bt.c:349:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:349:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:352:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:352:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:352:25: bad type * ../drivers/bluetooth/virtio_bt.c:352:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:352:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/hci_nokia.c:279:23: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:279:23: expected unsigned short [usertype] baud ../drivers/bluetooth/hci_nokia.c:279:23: got restricted __le16 [usertype] ../drivers/bluetooth/hci_nokia.c:282:26: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:282:26: expected unsigned short [usertype] sys_clk ../drivers/bluetooth/hci_nokia.c:282:26: got restricted __le16 [usertype] ../net/bluetooth/hci_event.c: note: in included file (through ../include/net/bluetooth/hci_core.h): ../include/net/bluetooth/hci.h:2653:47: warning: array of flexible structures ../include/net/bluetooth/hci.h:2739:43: warning: array of flexible structures ../net/bluetooth/mgmt.c:5393:59: warning: incorrect type in argument 3 (different base types) ../net/bluetooth/mgmt.c:5393:59: expected unsigned short [usertype] handle ../net/bluetooth/mgmt.c:5393:59: got restricted __le16 [usertype] monitor_handle ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? .pylintrc: warning: ignored by one of the .gitignore files ../net/bluetooth/hci_event.c: note: in included file (through ../include/net/bluetooth/hci_core.h): ../include/net/bluetooth/hci.h:2653:47: warning: array of flexible structures ../include/net/bluetooth/hci.h:2739:43: warning: array of flexible structures ../net/bluetooth/hci_codec.c: note: in included file: ../include/net/bluetooth/hci_core.h:148:35: warning: array of flexible structures ../net/bluetooth/sco.c: note: in included file: ../include/net/bluetooth/hci_core.h:148:35: warning: array of flexible structures ../drivers/bluetooth/hci_ag6xx.c:257:24: warning: restricted __le32 degrades to integer ../drivers/bluetooth/hci_mrvl.c:170:23: warning: restricted __le16 degrades to integer ../drivers/bluetooth/hci_mrvl.c:203:23: warning: restricted __le16 degrades to integer ../drivers/bluetooth/virtio_bt.c:311:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:311:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:311:25: bad type * ../drivers/bluetooth/virtio_bt.c:311:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:311:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:314:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:314:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:314:25: bad type * ../drivers/bluetooth/virtio_bt.c:314:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:314:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:349:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:349:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:349:25: bad type * ../drivers/bluetooth/virtio_bt.c:349:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:349:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:352:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:352:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:352:25: bad type * ../drivers/bluetooth/virtio_bt.c:352:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:352:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/hci_nokia.c:279:23: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:279:23: expected unsigned short [usertype] baud ../drivers/bluetooth/hci_nokia.c:279:23: got restricted __le16 [usertype] ../drivers/bluetooth/hci_nokia.c:282:26: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:282:26: expected unsigned short [usertype] sys_clk ../drivers/bluetooth/hci_nokia.c:282:26: got restricted __le16 [usertype] .pylintrc: warning: ignored by one of the .gitignore files ../net/bluetooth/hci_event.c: note: in included file (through ../include/net/bluetooth/hci_core.h): ../include/net/bluetooth/hci.h:2653:47: warning: array of flexible structures ../include/net/bluetooth/hci.h:2739:43: warning: array of flexible structures ../net/bluetooth/mgmt.c:5393:59: warning: incorrect type in argument 3 (different base types) ../net/bluetooth/mgmt.c:5393:59: expected unsigned short [usertype] handle ../net/bluetooth/mgmt.c:5393:59: got restricted __le16 [usertype] monitor_handle ../net/bluetooth/hci_codec.c: note: in included file: ../include/net/bluetooth/hci_core.h:148:35: warning: array of flexible structures ../net/bluetooth/sco.c: note: in included file: ../include/net/bluetooth/hci_core.h:148:35: warning: array of flexible structures ../drivers/bluetooth/hci_mrvl.c:170:23: warning: restricted __le16 degrades to integer ../drivers/bluetooth/hci_mrvl.c:203:23: warning: restricted __le16 degrades to integer ../drivers/bluetooth/hci_ag6xx.c:257:24: warning: restricted __le32 degrades to integer ../drivers/bluetooth/virtio_bt.c:311:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:311:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:311:25: bad type * ../drivers/bluetooth/virtio_bt.c:311:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:311:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:314:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:314:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:314:25: bad type * ../drivers/bluetooth/virtio_bt.c:314:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:314:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:349:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:349:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:349:25: bad type * ../drivers/bluetooth/virtio_bt.c:349:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:349:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:352:25: error: no generic selection for 'unsigned short virtio_cread_v' ../drivers/bluetooth/virtio_bt.c:352:25: error: incompatible types in comparison expression (different base types): ../drivers/bluetooth/virtio_bt.c:352:25: bad type * ../drivers/bluetooth/virtio_bt.c:352:25: unsigned short * ../drivers/bluetooth/virtio_bt.c:352:25: error: no generic selection for 'unsigned short [addressable] virtio_cread_v' ../drivers/bluetooth/hci_nokia.c:279:23: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:279:23: expected unsigned short [usertype] baud ../drivers/bluetooth/hci_nokia.c:279:23: got restricted __le16 [usertype] ../drivers/bluetooth/hci_nokia.c:282:26: warning: incorrect type in assignment (different base types) ../drivers/bluetooth/hci_nokia.c:282:26: expected unsigned short [usertype] sys_clk ../drivers/bluetooth/hci_nokia.c:282:26: got restricted __le16 [usertype] New errors added --- /tmp/tmp.8BnyBPW0am 2025-06-05 12:29:03.011396802 -0700 +++ /tmp/tmp.u0tTNwJkTV 2025-06-05 12:30:21.743978211 -0700 @@ -4,0 +5,3 @@ +../net/bluetooth/mgmt.c:5393:59: warning: incorrect type in argument 3 (different base types) +../net/bluetooth/mgmt.c:5393:59: expected unsigned short [usertype] handle +../net/bluetooth/mgmt.c:5393:59: got restricted __le16 [usertype] monitor_handle @@ -9 +11,0 @@ -../drivers/bluetooth/hci_ag6xx.c:257:24: warning: restricted __le32 degrades to integer @@ -11,0 +14 @@ +../drivers/bluetooth/hci_ag6xx.c:257:24: warning: restricted __le32 degrades to integer Per-file breakdown --- /tmp/tmp.uPhxxL83d6 2025-06-05 12:30:21.750185037 -0700 +++ /tmp/tmp.3srkmxALVS 2025-06-05 12:30:21.753185017 -0700 @@ -6,0 +7 @@ + 1 ../net/bluetooth/mgmt.c