Patchwork block: Remove semicolon in BDRV_SECTOR_MASK macro

login
register
mail settings
Submitter Stefan Hajnoczi
Date May 1, 2010, 6:23 a.m.
Message ID <1272695012-4700-1-git-send-email-stefanha@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/51418/
State New
Headers show

Comments

Stefan Hajnoczi - May 1, 2010, 6:23 a.m.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 block.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Kevin Wolf - May 3, 2010, 8:09 a.m.
Am 01.05.2010 08:23, schrieb Stefan Hajnoczi:
> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
> ---
>  block.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/block.h b/block.h
> index 05ad572..bb9a697 100644
> --- a/block.h
> +++ b/block.h
> @@ -38,7 +38,7 @@ typedef struct QEMUSnapshotInfo {
>  
>  #define BDRV_SECTOR_BITS   9
>  #define BDRV_SECTOR_SIZE   (1 << BDRV_SECTOR_BITS)
> -#define BDRV_SECTOR_MASK   ~(BDRV_SECTOR_SIZE - 1);
> +#define BDRV_SECTOR_MASK   ~(BDRV_SECTOR_SIZE - 1)
>  
>  typedef enum {
>      BDRV_ACTION_REPORT, BDRV_ACTION_IGNORE, BDRV_ACTION_STOP

Thanks, applied to the block branch.

Kevin

Patch

diff --git a/block.h b/block.h
index 05ad572..bb9a697 100644
--- a/block.h
+++ b/block.h
@@ -38,7 +38,7 @@  typedef struct QEMUSnapshotInfo {
 
 #define BDRV_SECTOR_BITS   9
 #define BDRV_SECTOR_SIZE   (1 << BDRV_SECTOR_BITS)
-#define BDRV_SECTOR_MASK   ~(BDRV_SECTOR_SIZE - 1);
+#define BDRV_SECTOR_MASK   ~(BDRV_SECTOR_SIZE - 1)
 
 typedef enum {
     BDRV_ACTION_REPORT, BDRV_ACTION_IGNORE, BDRV_ACTION_STOP