fix a typo in 040-bcm963xx_flashmap.patch
SVN-Revision: 22386
This commit is contained in:
parent
163b24d092
commit
7831006360
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
|
||||||
+ return -ENOMEM;
|
+ return -ENOMEM;
|
||||||
+
|
+
|
||||||
+ /* Get the tag */
|
+ /* Get the tag */
|
||||||
+ ret = master->read(master,mater->erasesize,sizeof(struct bcm_tag), &retlen, (void *)buf);
|
+ ret = master->read(master, master->erasesize, sizeof(struct bcm_tag), &retlen, (void *)buf);
|
||||||
+ if (retlen != sizeof(struct bcm_tag)){
|
+ if (retlen != sizeof(struct bcm_tag)){
|
||||||
+ vfree(buf);
|
+ vfree(buf);
|
||||||
+ return -EIO;
|
+ return -EIO;
|
||||||
|
|
Loading…
Reference in a new issue