On Sun, 17 Oct 2021 at 23:49, Hannu Lounento <hannu.loune...@vaisala.com> wrote: > > The data blob apparently does not need to be modified through the fit > field of the image_sign_info struct so make it point to const to avoid > the need to cast away constness in functions that assign a pointer to > const data to the field. > > fit_image_setup_verify already had to cast away constness as it assigned > a const void * argument to the field. The cast can now be removed. > > Signed-off-by: Hannu Lounento <hannu.loune...@vaisala.com> > --- > common/image-fit-sig.c | 2 +- > include/image.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org>