Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 493
b: refs/heads/master
c: efa5457
h: refs/heads/master
i:
  491: dd9360e
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Apr 26, 2005
1 parent 79e3d5e commit fa079fe
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5330e9273e2b3e372b01bb1cb75be4364f02db78
refs/heads/master: efa545791ff439d778f79d02255d59ff1f7ea0fc
12 changes: 6 additions & 6 deletions trunk/arch/ppc64/kernel/rtas_flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ static void get_flash_status_msg(int status, char *buf)
}

/* Reading the proc file will show status (not the firmware contents) */
static ssize_t rtas_flash_read(struct file *file, char *buf,
static ssize_t rtas_flash_read(struct file *file, char __user *buf,
size_t count, loff_t *ppos)
{
struct proc_dir_entry *dp = PDE(file->f_dentry->d_inode);
Expand Down Expand Up @@ -256,7 +256,7 @@ static ssize_t rtas_flash_read(struct file *file, char *buf,
* count is. If the system is low on memory it will be just as well
* that we fail....
*/
static ssize_t rtas_flash_write(struct file *file, const char *buffer,
static ssize_t rtas_flash_write(struct file *file, const char __user *buffer,
size_t count, loff_t *off)
{
struct proc_dir_entry *dp = PDE(file->f_dentry->d_inode);
Expand Down Expand Up @@ -356,7 +356,7 @@ static void manage_flash(struct rtas_manage_flash_t *args_buf)
args_buf->status = rc;
}

static ssize_t manage_flash_read(struct file *file, char *buf,
static ssize_t manage_flash_read(struct file *file, char __user *buf,
size_t count, loff_t *ppos)
{
struct proc_dir_entry *dp = PDE(file->f_dentry->d_inode);
Expand Down Expand Up @@ -386,7 +386,7 @@ static ssize_t manage_flash_read(struct file *file, char *buf,
return msglen;
}

static ssize_t manage_flash_write(struct file *file, const char *buf,
static ssize_t manage_flash_write(struct file *file, const char __user *buf,
size_t count, loff_t *off)
{
struct proc_dir_entry *dp = PDE(file->f_dentry->d_inode);
Expand Down Expand Up @@ -466,7 +466,7 @@ static int get_validate_flash_msg(struct rtas_validate_flash_t *args_buf,
return n;
}

static ssize_t validate_flash_read(struct file *file, char *buf,
static ssize_t validate_flash_read(struct file *file, char __user *buf,
size_t count, loff_t *ppos)
{
struct proc_dir_entry *dp = PDE(file->f_dentry->d_inode);
Expand Down Expand Up @@ -494,7 +494,7 @@ static ssize_t validate_flash_read(struct file *file, char *buf,
return msglen;
}

static ssize_t validate_flash_write(struct file *file, const char *buf,
static ssize_t validate_flash_write(struct file *file, const char __user *buf,
size_t count, loff_t *off)
{
struct proc_dir_entry *dp = PDE(file->f_dentry->d_inode);
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/ppc64/kernel/scanlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static int scanlog_debug;
static unsigned int ibm_scan_log_dump; /* RTAS token */
static struct proc_dir_entry *proc_ppc64_scan_log_dump; /* The proc file */

static ssize_t scanlog_read(struct file *file, char *buf,
static ssize_t scanlog_read(struct file *file, char __user *buf,
size_t count, loff_t *ppos)
{
struct inode * inode = file->f_dentry->d_inode;
Expand Down Expand Up @@ -129,7 +129,7 @@ static ssize_t scanlog_read(struct file *file, char *buf,
/*NOTREACHED*/
}

static ssize_t scanlog_write(struct file * file, const char * buf,
static ssize_t scanlog_write(struct file * file, const char __user * buf,
size_t count, loff_t *ppos)
{
char stkbuf[20];
Expand Down

0 comments on commit fa079fe

Please sign in to comment.