From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Thu, 19 Jul 2012 18:44:52 -0400 Subject: [U-Boot] [PATCH 7/7] FAT: Make it possible to read from any file position In-Reply-To: <895920526.294134.1342735386480.JavaMail.root@advansee.com> References: <895920526.294134.1342735386480.JavaMail.root@advansee.com> Message-ID: <201207191844.53559.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 19 July 2012 18:03:06 Beno?t Th?baudeau wrote: > --- u-boot-66714b1.orig/fs/fat/fat.c > +++ u-boot-66714b1/fs/fat/fat.c > > +__u8 get_contents_vfatname_block[MAX_CLUSTSIZE] > + __aligned(ARCH_DMA_MINALIGN); is there any reason for this to be exported ? could you mark it static ? > static long > -get_contents (fsdata *mydata, dir_entry *dentptr, __u8 *buffer, > - unsigned long maxsize) > +get_contents (fsdata *mydata, dir_entry *dentptr, unsigned long pos, delete the space before the "(" > long > -do_fat_read (const char *filename, void *buffer, unsigned long maxsize, > - int dols) > +do_fat_read_at (const char *filename, unsigned long pos, void *buffer, delete the space before the "(" > +long > +do_fat_read (const char *filename, void *buffer, unsigned long maxsize, no spaces before that "(" -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: