From 5bdc78e7e0c182dfc1edad8fc014517c68e65a75 Mon Sep 17 00:00:00 2001 From: tony-josi-aws Date: Thu, 30 Mar 2023 14:43:48 +0530 Subject: [PATCH 1/3] fix uncrustify run command --- .github/workflows/uncrustify.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/uncrustify.yml b/.github/workflows/uncrustify.yml index 2e492b8ba6..15a5d9b20b 100644 --- a/.github/workflows/uncrustify.yml +++ b/.github/workflows/uncrustify.yml @@ -34,8 +34,8 @@ jobs: with: repository: ${{ steps.upstreamrepo.outputs.RemoteRepo }} ref: ${{ steps.upstreambranch.outputs.branchname }} - - name: Install Uncrustify - run: apt-get update && apt-get install uncrustify + - name: Install Uncrustify and Git + run: apt-get update && apt-get install uncrustify git-all - name: Run Uncrustify run: | uncrustify --version From f660ab435fa741f8767f8a2849829f02a92ecca6 Mon Sep 17 00:00:00 2001 From: tony-josi-aws Date: Thu, 30 Mar 2023 19:11:04 +0530 Subject: [PATCH 2/3] test uncrustify --- source/FreeRTOS_ARP.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/FreeRTOS_ARP.c b/source/FreeRTOS_ARP.c index 974d42f26b..2ff3189fd7 100644 --- a/source/FreeRTOS_ARP.c +++ b/source/FreeRTOS_ARP.c @@ -317,6 +317,10 @@ eFrameProcessingResult_t eARPProcessPacket( ARPPacket_t * const pxARPFrame ) static void vProcessARPPacketReply( const ARPPacket_t * pxARPFrame, uint32_t ulSenderProtocolAddress ) { + + + + const ARPHeader_t * pxARPHeader = &( pxARPFrame->xARPHeader ); uint32_t ulTargetProtocolAddress = pxARPHeader->ulTargetProtocolAddress; From 6d66bdacde1512bee6b281070340f0a9270a78c2 Mon Sep 17 00:00:00 2001 From: tony-josi-aws Date: Fri, 31 Mar 2023 09:44:31 +0530 Subject: [PATCH 3/3] Revert "test uncrustify" This reverts commit f660ab435fa741f8767f8a2849829f02a92ecca6. --- source/FreeRTOS_ARP.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/FreeRTOS_ARP.c b/source/FreeRTOS_ARP.c index 2ff3189fd7..974d42f26b 100644 --- a/source/FreeRTOS_ARP.c +++ b/source/FreeRTOS_ARP.c @@ -317,10 +317,6 @@ eFrameProcessingResult_t eARPProcessPacket( ARPPacket_t * const pxARPFrame ) static void vProcessARPPacketReply( const ARPPacket_t * pxARPFrame, uint32_t ulSenderProtocolAddress ) { - - - - const ARPHeader_t * pxARPHeader = &( pxARPFrame->xARPHeader ); uint32_t ulTargetProtocolAddress = pxARPHeader->ulTargetProtocolAddress;