/* netsniff-ng - the packet sniffing beast * Copyright 2009, 2010 Daniel Borkmann. * Subject to the GPL, version 2. */ #ifndef COLORS_H #define COLORS_H #define __reset "0" #define __bold "1" #define __black "30" #define __red "31" #define __green "32" #define __yellow "33" #define __blue "34" #define __magenta "35" #define __cyan "36" #define __white "37" #define __on_black "40" #define __on_red "41" #define __on_green "42" #define __on_yellow "43" #define __on_blue "44" #define __on_magenta "45" #define __on_cyan "46" #define __on_white "47" #endif /* COLORS_H */ : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_alc5632.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-01-13 15:18:16 -0700
committerJens Axboe <axboe@fb.com>2017-01-13 15:18:16 -0700
commitbef13315e990fd3d3fb4c39013aefd53f06c3657 (patch)
tree25101dd0c76363c670fd08f947ef46df48285e28 /sound/soc/tegra/tegra_alc5632.c
parentf80de881d8df967488b7343381619efa15019493 (diff)
block: don't try to discard from __blkdev_issue_zeroout
Discard can return -EIO asynchronously if the alignment for the request isn't suitable for the driver, which makes a proper fallback to other methods in __blkdev_issue_zeroout impossible. Thus only issue a sync discard from blkdev_issue_zeroout an don't try discard at all from __blkdev_issue_zeroout as a non-invasive workaround. One more reason why abusing discard for zeroing must die.. Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Eryu Guan <eguan@redhat.com> Fixes: e73c23ff ("block: add async variant of blkdev_issue_zeroout") Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'sound/soc/tegra/tegra_alc5632.c')