Skip to content

Commit

Permalink
xen/blkback: Fix checkpatch.pl warnings about more than 80 lines.
Browse files Browse the repository at this point in the history
Break up the macro usage.

Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
  • Loading branch information
konradwilk committed May 12, 2011
1 parent a4c3485 commit 41ca4d3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions include/xen/blkif.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,12 @@ struct blkif_x86_64_response {
typedef struct blkif_x86_64_request blkif_x86_64_request_t;
typedef struct blkif_x86_64_response blkif_x86_64_response_t;

DEFINE_RING_TYPES(blkif_common, struct blkif_common_request, struct blkif_common_response);
DEFINE_RING_TYPES(blkif_x86_32, struct blkif_x86_32_request, struct blkif_x86_32_response);
DEFINE_RING_TYPES(blkif_x86_64, struct blkif_x86_64_request, struct blkif_x86_64_response);
DEFINE_RING_TYPES(blkif_common, struct blkif_common_request,
struct blkif_common_response);
DEFINE_RING_TYPES(blkif_x86_32, struct blkif_x86_32_request,
struct blkif_x86_32_response);
DEFINE_RING_TYPES(blkif_x86_64, struct blkif_x86_64_request,
struct blkif_x86_64_response);

union blkif_back_rings {
struct blkif_back_ring native;
Expand Down

0 comments on commit 41ca4d3

Please sign in to comment.