qcacld-3.0: Add support for size 1 flexible length arrays
Convert size 1 variable length arrays to flexible length arrays. Change-Id: I348d479c94a27f4cecc02c8fc9fa98cfb9572baa CRs-Fixed: 3690224
此提交包含在:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2019, 2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -118,7 +118,7 @@ struct p2p_rx_mgmt_frame {
|
||||
uint32_t vdev_id;
|
||||
uint32_t frm_type;
|
||||
uint32_t rx_rssi;
|
||||
uint8_t buf[1];
|
||||
QDF_FLEX_ARRAY(uint8_t, buf);
|
||||
};
|
||||
|
||||
/**
|
||||
|
新增問題並參考
封鎖使用者