linguini1 opened a new pull request, #19373:
URL: https://github.com/apache/nuttx/pull/19373

   ## Summary
   
   This commit fixes the incorrect casting of signed types to unsigned types in 
the I2S character driver.
   
   NOTE: the I2S character driver IOCTLs retain their original argument types. 
This is fine, because errors are reported through errno by the ioctl call. The 
returned value in the 'arg' parameter is to be ignored when the call results in 
an error. Outside of error codes, all i2s interfaces return unsigned values.
   
   Related to #19309.
   
   ## Impact
   
   I2S character driver behaves more correctly now.
   
   ## Testing
   
   Tested with BCM2711 I2S driver and i2s character driver example.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to