Message ID | 6aea8901-4f88-4627-9cb3-d2c8368f5b6a@googlegroups.com |
---|---|
State | Accepted |
Headers | show |
Series | Iterate through entire list in order to find duplicated elements | expand |
On 29/05/2018 09:31, piotr.piwko@gmail.com wrote: > From 1fac9596eba66780476558a9653a2cf21bc81bda Mon Sep 17 00:00:00 2001 > From: Piotr Piwko <piotr.piwko@gmail.com> > Date: Tue, 29 May 2018 09:11:39 +0200 > Subject: [PATCH] Iterate through entire list in order to find duplicated > elements > > This approach allows to use the same file from cpio archive in the few elements > (images, scripts, bootscripts) described in sw-description. > > Signed-off-by: Piotr Piwko <piotr.piwko@gmail.com> > --- > include/swupdate.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/swupdate.h b/include/swupdate.h > index 6f0170d..49deb4d 100644 > --- a/include/swupdate.h > +++ b/include/swupdate.h > @@ -139,7 +139,6 @@ struct swupdate_cfg { > img->offset = offs; \ > img->provided = 1; \ > img->size = fdh.size; \ > - break; \ > } \ > } \ > if (!found) \ > Acked-by: Stefano Babic <sbabic@denx.de> Best regards, Stefano Babic
diff --git a/include/swupdate.h b/include/swupdate.h index 6f0170d..49deb4d 100644 --- a/include/swupdate.h +++ b/include/swupdate.h @@ -139,7 +139,6 @@ struct swupdate_cfg { img->offset = offs; \ img->provided = 1; \ img->size = fdh.size; \ - break; \ } \ } \ if (!found) \