Re: [PATCH] platform/x86: intel_pmc_core: re-write copy in pmc_core_lpm_latch_mode_write()

From: Dan Carpenter
Date: Wed Apr 21 2021 - 11:34:21 EST


On Wed, Apr 21, 2021 at 04:11:15PM +0200, Hans de Goede wrote:
> This should fix that however, while sticking with simple_write_to_buffer():

I really want to get rid of the simple_write_to_buffer(). Using it
would make sense if we wanted the user to be able to seek to the middle
of buf[] but that would just be an info leak.

regards,
dan carpenter