summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2015-06-25 15:00:03 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-25 17:00:36 -0700
commit3bca3ef7694166b86c91b515818cc5acecd357a7 (patch)
treeee13ab096408b37a4dc62436ddf58f8c09820d46 /drivers/block
parent3d8ed88ba7f612305785fc1f3cefa043f817bb3e (diff)
downloadlinux-3bca3ef7694166b86c91b515818cc5acecd357a7.tar.gz
linux-3bca3ef7694166b86c91b515818cc5acecd357a7.tar.bz2
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); \