aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorTim Gardner <[email protected]>2013-11-14 14:29:52 -0700
committerKonrad Rzeszutek Wilk <[email protected]>2013-11-26 11:23:53 -0500
commit427bfe07e6744c058ce6fc4aa187cda96b635539 (patch)
tree5833c988a625406a9572a2b89d07f8f21be7c579 /lib/test-string_helpers.c
parentf7cb20f03dc6dff1b19942cf3dda6d154c86f29b (diff)
xen-blkfront: Silence pfn maybe-uninitialized warning
pfn cannot actually be used unless (!info->feature_persistent), nor is pfn accessed in get_grant() unless (!info->feature_persistent), but silence this warning anyway. gcc-4.8 drivers/block/xen-blkfront.c: In function 'do_blkif_request': drivers/block/xen-blkfront.c:508:20: warning: 'pfn' may be used uninitialized in this function [-Wmaybe-uninitialized] gnt_list_entry = get_grant(&gref_head, pfn, info); ^ drivers/block/xen-blkfront.c:492:19: note: 'pfn' was declared here unsigned long pfn; Cc: Konrad Rzeszutek Wilk <[email protected]> Cc: Boris Ostrovsky <[email protected]> Cc: David Vrabel <[email protected]> Signed-off-by: Tim Gardner <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]> Acked-by: Roger Pau MonnĂ© <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions