qcacmn: Change size 1 scatter_list array to flexible length array
Change size 1 scatter_list variable length arrays to flexible length arrays. CRs-Fixed: 3695133 Change-Id: I448add39987b0318c2b7d2d0553c857fb551c930
Este cometimento está contido em:

cometido por
Ravindra Konda

ascendente
2b03e92990
cometimento
53ef6cc7ce
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 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
|
||||
@@ -326,7 +327,7 @@ struct _HIF_SCATTER_REQ {
|
||||
enum HIF_SCATTER_METHOD scatter_method;
|
||||
void *hif_private[4]; /* HIF private area */
|
||||
u_int8_t *scatter_bounce_buffer; /* bounce buffers */
|
||||
struct _HIF_SCATTER_ITEM scatter_list[1]; /* start of scatter list */
|
||||
QDF_FLEX_ARRAY(struct _HIF_SCATTER_ITEM, scatter_list); /* start of scatter list */
|
||||
};
|
||||
|
||||
typedef struct _HIF_SCATTER_REQ * (*HIF_ALLOCATE_SCATTER_REQUEST)(
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador