aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-07-17 09:32:14 +0000
committerLuiz Augusto von Dentz <[email protected]>2023-07-20 18:27:22 +0000
commitd1f0a9816f5fbc1316355ec1aa4ddfb9b624cca5 (patch)
tree4bd19b87fbcde48aa9a87a0b28ce300bbf93e417 /drivers/net/ethernet/intel/igc/igc_main.c
parentBluetooth: btusb: Fix bluetooth on Intel Macbook 2014 (diff)
downloadkernel-d1f0a9816f5fbc1316355ec1aa4ddfb9b624cca5.tar.gz
kernel-d1f0a9816f5fbc1316355ec1aa4ddfb9b624cca5.zip
Bluetooth: MGMT: Use correct address for memcpy()
In function ‘fortify_memcpy_chk’, inlined from ‘get_conn_info_complete’ at net/bluetooth/mgmt.c:7281:2: include/linux/fortify-string.h:592:25: error: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Werror=attribute-warning] 592 | __read_overflow2_field(q_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors This is due to the wrong member is used for memcpy(). Use correct one. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions