net: ipa: Use correct value for IPA_STATUS_SIZE
IPA_STATUS_SIZE was introduced in commitb8dc7d0eea
as a replacement for the size of the removed struct ipa_status which had size sizeof(__le32[8]). Use this value as IPA_STATUS_SIZE. Fixes:b8dc7d0eea
("net: ipa: stop using sizeof(status)") Signed-off-by: Bert Karwatzki <spasswolf@web.de> Reviewed-by: Simon Horman <simon.horman@corigine.com> Link: https://lore.kernel.org/r/20230531103618.102608-1-spasswolf@web.de Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
30c6f0bf95
commit
be7f8012a5
@ -119,7 +119,7 @@ enum ipa_status_field_id {
|
||||
};
|
||||
|
||||
/* Size in bytes of an IPA packet status structure */
|
||||
#define IPA_STATUS_SIZE sizeof(__le32[4])
|
||||
#define IPA_STATUS_SIZE sizeof(__le32[8])
|
||||
|
||||
/* IPA status structure decoder; looks up field values for a structure */
|
||||
static u32 ipa_status_extract(struct ipa *ipa, const void *data,
|
||||
|
Loading…
Reference in New Issue
Block a user