* [dm:for-next 30/30] drivers/md/dm-thin.c:338:5: sparse: symbol '__blkdev_issue_discard_async' was not declared. Should it be static?
@ 2015-05-22 21:37 kbuild test robot
2015-05-22 21:37 ` [PATCH dm] dm thin: __blkdev_issue_discard_async() can be static kbuild test robot
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-05-22 21:37 UTC (permalink / raw)
To: Joe Thornber
Cc: kbuild-all, Mike Snitzer, Alasdair Kergon, dm-devel, Neil Brown,
linux-raid, linux-kernel
tree: git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next
head: 9f1e427e6d6c80f0c3d7b38ddfbd98c9f8f2af41
commit: 9f1e427e6d6c80f0c3d7b38ddfbd98c9f8f2af41 [30/30] dm thin: range discard support
reproduce:
# apt-get install sparse
git checkout 9f1e427e6d6c80f0c3d7b38ddfbd98c9f8f2af41
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> drivers/md/dm-thin.c:338:5: sparse: symbol '__blkdev_issue_discard_async' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH dm] dm thin: __blkdev_issue_discard_async() can be static
2015-05-22 21:37 [dm:for-next 30/30] drivers/md/dm-thin.c:338:5: sparse: symbol '__blkdev_issue_discard_async' was not declared. Should it be static? kbuild test robot
@ 2015-05-22 21:37 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2015-05-22 21:37 UTC (permalink / raw)
To: Joe Thornber
Cc: kbuild-all, Mike Snitzer, Alasdair Kergon, dm-devel, Neil Brown,
linux-raid, linux-kernel
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
dm-thin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/dm-thin.c b/drivers/md/dm-thin.c
index c2634a5..ef47420 100644
--- a/drivers/md/dm-thin.c
+++ b/drivers/md/dm-thin.c
@@ -335,7 +335,7 @@ struct thin_c {
* that is being kept local to DM thinp until the block changes to allow
* late bio splitting land upstream.
*/
-int __blkdev_issue_discard_async(struct block_device *bdev, sector_t sector,
+static int __blkdev_issue_discard_async(struct block_device *bdev, sector_t sector,
sector_t nr_sects, gfp_t gfp_mask, unsigned long flags,
struct bio *parent_bio)
{
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-22 21:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-22 21:37 [dm:for-next 30/30] drivers/md/dm-thin.c:338:5: sparse: symbol '__blkdev_issue_discard_async' was not declared. Should it be static? kbuild test robot
2015-05-22 21:37 ` [PATCH dm] dm thin: __blkdev_issue_discard_async() can be static kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).