@@ -549,9 +549,9 @@ int posixTransportShm_RecvResponse(void* c, uint16_t* out_len, void* data)
549549 * the POSIX shared memory transport.
550550 */
551551
552- int posixTransportShm_ClientStaticMemDmaCallback (struct whClientContext_t * client ,
553- uintptr_t clientAddr , void * * xformedCliAddr ,
554- size_t len , whDmaOper oper , whDmaFlags flags )
552+ int posixTransportShm_ClientStaticMemDmaCallback (
553+ struct whClientContext_t * client , uintptr_t clientAddr ,
554+ void * * xformedCliAddr , size_t len , whDmaOper oper , whDmaFlags flags )
555555{
556556 int ret = WH_ERROR_OK ;
557557 int isInDma = 0 ;
@@ -686,10 +686,9 @@ int posixTransportShm_RecvRequest(void* c, uint16_t* out_len, void* data)
686686/* Generic offset into the DMA area. This function can operate with no knowledge
687687 * of what structures the DMA area is. It takes in an offset, validates it, and
688688 * returns the pointer into the DMA area based off of the offset. */
689- int posixTransportShm_ServerStaticMemDmaCallback (whServerContext * server ,
690- uintptr_t clientAddr , void * * xformedCliAddr ,
691- size_t len , whServerDmaOper oper ,
692- whServerDmaFlags flags )
689+ int posixTransportShm_ServerStaticMemDmaCallback (
690+ whServerContext * server , uintptr_t clientAddr , void * * xformedCliAddr ,
691+ size_t len , whServerDmaOper oper , whServerDmaFlags flags )
693692{
694693 posixTransportShmContext * ctx ;
695694 void * dma_ptr ;
@@ -731,8 +730,7 @@ int posixTransportShm_ServerStaticMemDmaCallback(whServerContext* server,
731730#endif /* WOLFHSM_CFG_ENABLE_SERVER */
732731
733732#if defined(WOLFHSM_CFG_DMA )
734- int posixTransportShm_SetDmaHeap (posixTransportShmContext * ctx ,
735- void * heap )
733+ int posixTransportShm_SetDmaHeap (posixTransportShmContext * ctx , void * heap )
736734{
737735 if (ctx == NULL ) {
738736 return WH_ERROR_BADARGS ;
0 commit comments