summaryrefslogtreecommitdiff
path: root/proto_nlmsg.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-07-22 11:11:12 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-07-22 11:20:58 +0200
commite8bc35c3efe80858a6a7a2df41e5219f3c1c8eb9 (patch)
tree4a8f132e68b3e78500c9de17f177093f4ba3ae9b /proto_nlmsg.c
parentf4024343a161f50b73f106dd3dea24d68a934d5a (diff)
flowtop: Replace bool lookup tables by switch statement
Use a switch statement instead of looking up a valid state in the *_states_show bool arrays in presenter_flow_wrong_state(). This makes the code a bit easier to read. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_nlmsg.c')
0 files changed, 0 insertions, 0 deletions
&id=eeeefd41843218c55a8782a6920f044d9bf6207a&id2=c14024dbb156c8392908aaa822097d27c6af8ec8'>diff)
block: don't try Write Same from __blkdev_issue_zeroout
Write Same can return an error asynchronously if it turns out the underlying SCSI device does not support Write Same, which makes a proper fallback to other methods in __blkdev_issue_zeroout impossible. Thus only issue a Write Same from blkdev_issue_zeroout an don't try it at all from __blkdev_issue_zeroout as a non-invasive workaround. Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Junichi Nomura <j-nomura@ce.jp.nec.com> Fixes: e73c23ff ("block: add async variant of blkdev_issue_zeroout") Tested-by: Junichi Nomura <j-nomura@ce.jp.nec.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/dt-bindings/clock/pistachio-clk.h')