Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 129899
b: refs/heads/master
c: 0bac038
h: refs/heads/master
i:
  129897: 47e3a23
  129895: 4e9521f
v: v3
  • Loading branch information
Linus Torvalds committed Jan 17, 2009
1 parent d081e43 commit a67d3c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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: 5dbdf7354821e00e4419ac3520d05d126857d56e
refs/heads/master: 0bac038a9eec00ac27f95ca0360954c0016fd859
4 changes: 2 additions & 2 deletions trunk/drivers/firmware/dell_rbu.c
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ static ssize_t read_rbu_image_type(struct kobject *kobj,
{
int size = 0;
if (!pos)
size = sprintf(buffer, "%s\n", image_type);
size = scnprintf(buffer, count, "%s\n", image_type);
return size;
}

Expand Down Expand Up @@ -648,7 +648,7 @@ static ssize_t read_rbu_packet_size(struct kobject *kobj,
int size = 0;
if (!pos) {
spin_lock(&rbu_data.lock);
size = sprintf(buffer, "%lu\n", rbu_data.packetsize);
size = scnprintf(buffer, count, "%lu\n", rbu_data.packetsize);
spin_unlock(&rbu_data.lock);
}
return size;
Expand Down
1 change: 1 addition & 0 deletions trunk/security/keys/keyctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ long keyctl_join_session_keyring(const char __user *_name)

/* join the session */
ret = join_session_keyring(name);
kfree(name);

error:
return ret;
Expand Down

0 comments on commit a67d3c3

Please sign in to comment.