Merge remote branch 'origin' into secretlab/next-devicetree
Merging in current state of Linus' tree to deal with merge conflicts and build failures in vio.c after merge. Conflicts: drivers/i2c/busses/i2c-cpm.c drivers/i2c/busses/i2c-mpc.c drivers/net/gianfar.c Also fixed up one line in arch/powerpc/kernel/vio.c to use the correct node pointer. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
@@ -105,9 +105,9 @@ static ssize_t
|
||||
flash_read(struct file * file, char __user * buf,
|
||||
size_t count, loff_t *ppos)
|
||||
{
|
||||
unsigned long p = file->f_pos;
|
||||
loff_t p = *ppos;
|
||||
int i;
|
||||
|
||||
|
||||
if (count > flash.read_size - p)
|
||||
count = flash.read_size - p;
|
||||
|
||||
@@ -118,7 +118,7 @@ flash_read(struct file * file, char __user * buf,
|
||||
buf++;
|
||||
}
|
||||
|
||||
file->f_pos += count;
|
||||
*ppos += count;
|
||||
return count;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user