aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-11-07 16:05:44 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-07 16:05:44 -0500
commit75021d28594d9b6fb4d05bbc41f77948a0db0e02 (patch)
treebd0939df57e358ef248993b7be4ac1260cb3f3b1 /drivers/md/bcache
parent6f1da317ac1df15f442b5fd37be7740c7cb55057 (diff)
parent8d090f47315507c3064ca4eefa9a1da52390b52e (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial updates from Jiri Kosina: "Trivial stuff from trivial tree that can be trivially summed up as: - treewide drop of spurious unlikely() before IS_ERR() from Viresh Kumar - cosmetic fixes (that don't really affect basic functionality of the driver) for pktcdvd and bcache, from Julia Lawall and Petr Mladek - various comment / printk fixes and updates all over the place" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: bcache: Really show state of work pending bit hwmon: applesmc: fix comment typos Kconfig: remove comment about scsi_wait_scan module class_find_device: fix reference to argument "match" debugfs: document that debugfs_remove*() accepts NULL and error values net: Drop unlikely before IS_ERR(_OR_NULL) mm: Drop unlikely before IS_ERR(_OR_NULL) fs: Drop unlikely before IS_ERR(_OR_NULL) drivers: net: Drop unlikely before IS_ERR(_OR_NULL) drivers: misc: Drop unlikely before IS_ERR(_OR_NULL) UBI: Update comments to reflect UBI_METAONLY flag pktcdvd: drop null test before destroy functions
Diffstat (limited to 'drivers/md/bcache')
-rw-r--r--drivers/md/bcache/closure.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/md/bcache/closure.c b/drivers/md/bcache/closure.c
index 7a228de95fd7..9eaf1d6e8302 100644
--- a/drivers/md/bcache/closure.c
+++ b/drivers/md/bcache/closure.c
@@ -167,8 +167,6 @@ EXPORT_SYMBOL(closure_debug_destroy);
167 167
168static struct dentry *debug; 168static struct dentry *debug;
169 169
170#define work_data_bits(work) ((unsigned long *)(&(work)->data))
171
172static int debug_seq_show(struct seq_file *f, void *data) 170static int debug_seq_show(struct seq_file *f, void *data)
173{ 171{
174 struct closure *cl; 172 struct closure *cl;
@@ -182,7 +180,7 @@ static int debug_seq_show(struct seq_file *f, void *data)
182 r & CLOSURE_REMAINING_MASK); 180 r & CLOSURE_REMAINING_MASK);
183 181
184 seq_printf(f, "%s%s%s%s\n", 182 seq_printf(f, "%s%s%s%s\n",
185 test_bit(WORK_STRUCT_PENDING, 183 test_bit(WORK_STRUCT_PENDING_BIT,
186 work_data_bits(&cl->work)) ? "Q" : "", 184 work_data_bits(&cl->work)) ? "Q" : "",
187 r & CLOSURE_RUNNING ? "R" : "", 185 r & CLOSURE_RUNNING ? "R" : "",
188 r & CLOSURE_STACK ? "S" : "", 186 r & CLOSURE_STACK ? "S" : "",