Re: [PATCH 07/10] AXFS: axfs_bdev.c
From: Jared Hulbert
Date: Fri Aug 22 2008 - 13:39:27 EST
> mismatch between documentation and implementation WRT the function name ;)
oops.
>>+{
>>+ struct axfs_super *sbi = AXFS_SB(sb);
>>+ u64 boffset = AXFS_FSOFFSET_2_DEVOFFSET(sbi, fsoffset);
>>+ u64 blocks;
>>+ u64 blksize = sb->s_blocksize;
>>+ unsigned long dst;
>>+ unsigned long src;
>>+ sector_t block;
>>+ size_t bytes;
>>+ struct buffer_head *bh;
>>+ u64 copied = 0;
>>+
>>+ if (len == 0)
>>+ return 0;
>>+
>>+ blocks = len / blksize;
>>+ if ((len % blksize) > 0)
>>+ blocks += 1;
>>+
>>+ while (copied < len) {
>>+ /* Explicit casting for ARM linker errors. */
>
> did it try to emit some external div()? Is this still needed?
exactly. I haven't heard otherwise, it was a Freescale ARM11 build
that had the issue... I don't have the set up.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/