W-M-R opened a new pull request, #21354:
URL: https://github.com/apache/nuttx/pull/21354

   ## Summary
   
   - `drivers/misc/dev_mem.c`: implement `seek()` for `/dev/mem`. Without it the
     file could not be repositioned, so only the first read worked. `f_pos` is
     now an offset inside the selected memory region instead of an absolute
     address, which also makes `read()`/`write()` stay within that region.
   - `drivers/video/mipidsi/mipi_dsi_host.c`: when `realloc()` fails, keep the
     old host array and return `-ENOMEM` instead of losing the only pointer to
     the previously allocated hosts.
   - `drivers/note/Kconfig`, `drivers/note/note_driver.c`: add
     `CONFIG_DRIVERS_NOTE_CPUID` so the CPUID is recorded in note events only
     when the board provides a stable one.
   
   ## Impact
   
   - `/dev/mem` seek semantics change; users that relied on `f_pos` being an
     absolute address must be updated.
   - New Kconfig option defaults to off; existing note output is unchanged.


-- 
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