Patch "net: ipa: Use correct value for IPA_STATUS_SIZE" has been added to the 6.3-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    net: ipa: Use correct value for IPA_STATUS_SIZE

to the 6.3-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     net-ipa-use-correct-value-for-ipa_status_size.patch
and it can be found in the queue-6.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit b5b45aaff7447f407fe9f6e969186cf8a6452b69
Author: Bert Karwatzki <spasswolf@xxxxxx>
Date:   Wed May 31 12:36:19 2023 +0200

    net: ipa: Use correct value for IPA_STATUS_SIZE
    
    [ Upstream commit be7f8012a513f5099916ee2da28420156cbb8cf3 ]
    
    IPA_STATUS_SIZE was introduced in commit b8dc7d0eea5a 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: b8dc7d0eea5a ("net: ipa: stop using sizeof(status)")
    Signed-off-by: Bert Karwatzki <spasswolf@xxxxxx>
    Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20230531103618.102608-1-spasswolf@xxxxxx
    Signed-off-by: Paolo Abeni <pabeni@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/ipa/ipa_endpoint.c b/drivers/net/ipa/ipa_endpoint.c
index 2ee80ed140b72..afa1d56d9095c 100644
--- a/drivers/net/ipa/ipa_endpoint.c
+++ b/drivers/net/ipa/ipa_endpoint.c
@@ -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,



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux