Re: [PATCH] common: update: fix an "unused" warning against update_flash()

2020-11-18 Thread Heinrich Schuchardt
On 17.11.20 01:26, AKASHI Takahiro wrote: > Since update_flash() is used only in update_tftp(), it should be > guarded with appropriate config options. You are not adding an additional guard but relaxing guards. Your commit message does not capture this. Here is an example requiring your patch:

[PATCH] common: update: fix an "unused" warning against update_flash()

2020-11-16 Thread AKASHI Takahiro
Since update_flash() is used only in update_tftp(), it should be guarded with appropriate config options. Fixes: 3149e524fc1e ("common: update: add a generic interface for FIT image") Signed-off-by: AKASHI Takahiro --- common/update.c | 8 1 file changed, 4 insertions(+), 4