diff options
author | C yp | 2010-01-06 13:42:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-03-04 01:42:38 +0100 |
commit | ef4ffb7ade54f7669172cf5cead69695e588c06a (patch) | |
tree | 3a76dc31353ecf147f9e1677b78e9fe90bc4c6e6 /drivers/staging/ramzswap/ramzswap_drv.h | |
parent | Staging: dt3155: remove compat code (diff) | |
download | kernel-qcow2-linux-ef4ffb7ade54f7669172cf5cead69695e588c06a.tar.gz kernel-qcow2-linux-ef4ffb7ade54f7669172cf5cead69695e588c06a.tar.xz kernel-qcow2-linux-ef4ffb7ade54f7669172cf5cead69695e588c06a.zip |
Staging: ramzswap: Minor spelling fixes
Also removed an extra semicolon.
Signed-off-by: Cyp <cyp561@gmail.com>
Cc: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ramzswap/ramzswap_drv.h')
-rw-r--r-- | drivers/staging/ramzswap/ramzswap_drv.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/ramzswap/ramzswap_drv.h b/drivers/staging/ramzswap/ramzswap_drv.h index a6ea240935b6..7ba98bfee2d6 100644 --- a/drivers/staging/ramzswap/ramzswap_drv.h +++ b/drivers/staging/ramzswap/ramzswap_drv.h @@ -102,7 +102,7 @@ struct table { u16 offset; u8 count; /* object ref count (not yet used) */ u8 flags; -} __attribute__((aligned(4)));; +} __attribute__((aligned(4))); /* * Swap extent information in case backing swap is a regular @@ -121,8 +121,8 @@ struct ramzswap_stats { #if defined(CONFIG_RAMZSWAP_STATS) u64 num_reads; /* failed + successful */ u64 num_writes; /* --do-- */ - u64 failed_reads; /* can happen when memory is too low */ - u64 failed_writes; /* should NEVER! happen */ + u64 failed_reads; /* should NEVER! happen */ + u64 failed_writes; /* can happen when memory is too low */ u64 invalid_io; /* non-swap I/O requests */ u32 pages_zero; /* no. of zero filled pages */ u32 pages_stored; /* no. of pages currently stored */ |