[PATCH] misc: mark write buffer const

Tom Rini trini at konsulko.com
Mon Jan 24 17:53:45 CET 2022


On Tue, Jan 11, 2022 at 05:04:49PM +0000, John Keeping wrote:

> The write operation in misc_ops already takes a "const void *" buffer,
> but misc_write() takes a mutable "void *".  There's no reason for this,
> so make misc_write() consistent with the standard write() prototype.
> 
> Signed-off-by: John Keeping <john at metanate.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220124/099291a3/attachment.sig>


More information about the U-Boot mailing list