diff options
| author | Amit Pundir <amit.pundir@linaro.org> | 2016-04-25 17:00:08 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-07-19 16:48:47 -0700 |
| commit | 859dc4e658ca320eed4e8c23cd10328567b399f9 (patch) | |
| tree | 4c447ad9c8b011ce8436f3e140393eb072bf4b2e /drivers/misc | |
| parent | 9b9d994aa44815fb126aa5955a4c2e6268925f9a (diff) | |
Revert "misc seq_printf fixes for 4.4"
This reverts commit 5c7566a29bff14166d952f2ea525d5231546f821.
This patch revert some changes in net/netfilter/xt_qtaguid.c as well.
I'll submit another patch to restore those changes.
Change-Id: I2d9251867235a6566b4c676de0546ce046848c91
CRs-Fixed: 1035969
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Git-commit: cdb6973ae15c5f62947ea7afc29fc1175ecb3172
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Bryse Flowers <bflowers@codeaurora.org>
Diffstat (limited to 'drivers/misc')
| -rw-r--r-- | drivers/misc/uid_stat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/misc/uid_stat.c b/drivers/misc/uid_stat.c index 8b8c9a22360b..4766c1f83b94 100644 --- a/drivers/misc/uid_stat.c +++ b/drivers/misc/uid_stat.c @@ -55,8 +55,7 @@ static int uid_stat_atomic_int_show(struct seq_file *m, void *v) atomic_t *counter = m->private; bytes = (unsigned int) (atomic_read(counter) + INT_MIN); - seq_printf(m, "%u\n", bytes); - return seq_has_overflowed(m) ? -ENOSPC : 0; + return seq_printf(m, "%u\n", bytes); } static int uid_stat_read_atomic_int_open(struct inode *inode, struct file *file) |
