summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2015-06-26 00:00:03 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-26 02:00:36 +0200
commit3bca3ef7694166b86c91b515818cc5acecd357a7 (patch)
treeee13ab096408b37a4dc62436ddf58f8c09820d46 /drivers/block
parentzram: add `compact` sysfs entry to documentation (diff)
downloadlinux-3bca3ef7694166b86c91b515818cc5acecd357a7.tar.xz
linux-3bca3ef7694166b86c91b515818cc5acecd357a7.zip
zram: cosmetic ZRAM_ATTR_RO code formatting tweak
Fix a misplaced backslash. Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/zram/zram_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c
index 00e7966e5546..7814e686e23c 100644
--- a/drivers/block/zram/zram_drv.c
+++ b/drivers/block/zram/zram_drv.c
@@ -49,7 +49,7 @@ static inline void deprecated_attr_warn(const char *name)
}
#define ZRAM_ATTR_RO(name) \
-static ssize_t name##_show(struct device *d, \
+static ssize_t name##_show(struct device *d, \
struct device_attribute *attr, char *b) \
{ \
struct zram *zram = dev_to_zram(d); \