raw1394: fix whitespace after x86_64 compat patch
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Ben Collins <bcollins@ubuntu.com>
This commit is contained in:
parent
fa7614de60
commit
7597028a83
1 changed files with 26 additions and 28 deletions
|
@ -447,7 +447,7 @@ static int
|
||||||
raw1394_compat_read(const char __user *buf, struct raw1394_request *r)
|
raw1394_compat_read(const char __user *buf, struct raw1394_request *r)
|
||||||
{
|
{
|
||||||
struct compat_raw1394_req __user *cr = (typeof(cr)) r;
|
struct compat_raw1394_req __user *cr = (typeof(cr)) r;
|
||||||
if (!access_ok(VERIFY_WRITE,cr,sizeof(struct compat_raw1394_req)) ||
|
if (!access_ok(VERIFY_WRITE, cr, sizeof(struct compat_raw1394_req)) ||
|
||||||
P(type) ||
|
P(type) ||
|
||||||
P(error) ||
|
P(error) ||
|
||||||
P(misc) ||
|
P(misc) ||
|
||||||
|
@ -516,7 +516,6 @@ static ssize_t raw1394_read(struct file *file, char __user * buffer,
|
||||||
sizeof(struct compat_raw1394_req) !=
|
sizeof(struct compat_raw1394_req) !=
|
||||||
sizeof(struct raw1394_request)) {
|
sizeof(struct raw1394_request)) {
|
||||||
ret = raw1394_compat_read(buffer, &req->req);
|
ret = raw1394_compat_read(buffer, &req->req);
|
||||||
|
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
@ -2348,7 +2347,6 @@ static int state_connected(struct file_info *fi, struct pending_request *req)
|
||||||
return handle_async_request(fi, req, node);
|
return handle_async_request(fi, req, node);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static ssize_t raw1394_write(struct file *file, const char __user * buffer,
|
static ssize_t raw1394_write(struct file *file, const char __user * buffer,
|
||||||
size_t count, loff_t * offset_is_ignored)
|
size_t count, loff_t * offset_is_ignored)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue