diff options
35 files changed, 53 insertions, 53 deletions
diff --git a/Documentation/DocBook/v4l/io.xml b/Documentation/DocBook/v4l/io.xml index 227e7ac45a06..c57d1ec6291c 100644 --- a/Documentation/DocBook/v4l/io.xml +++ b/Documentation/DocBook/v4l/io.xml | |||
@@ -210,7 +210,7 @@ for (i = 0; i < reqbuf.count; i++) | |||
210 | <programlisting> | 210 | <programlisting> |
211 | &v4l2-requestbuffers; reqbuf; | 211 | &v4l2-requestbuffers; reqbuf; |
212 | /* Our current format uses 3 planes per buffer */ | 212 | /* Our current format uses 3 planes per buffer */ |
213 | #define FMT_NUM_PLANES = 3; | 213 | #define FMT_NUM_PLANES = 3 |
214 | 214 | ||
215 | struct { | 215 | struct { |
216 | void *start[FMT_NUM_PLANES]; | 216 | void *start[FMT_NUM_PLANES]; |
diff --git a/arch/alpha/include/asm/floppy.h b/arch/alpha/include/asm/floppy.h index 0be50413b2b5..46cefbd50e73 100644 --- a/arch/alpha/include/asm/floppy.h +++ b/arch/alpha/include/asm/floppy.h | |||
@@ -27,7 +27,7 @@ | |||
27 | #define fd_cacheflush(addr,size) /* nothing */ | 27 | #define fd_cacheflush(addr,size) /* nothing */ |
28 | #define fd_request_irq() request_irq(FLOPPY_IRQ, floppy_interrupt,\ | 28 | #define fd_request_irq() request_irq(FLOPPY_IRQ, floppy_interrupt,\ |
29 | IRQF_DISABLED, "floppy", NULL) | 29 | IRQF_DISABLED, "floppy", NULL) |
30 | #define fd_free_irq() free_irq(FLOPPY_IRQ, NULL); | 30 | #define fd_free_irq() free_irq(FLOPPY_IRQ, NULL) |
31 | 31 | ||
32 | #ifdef CONFIG_PCI | 32 | #ifdef CONFIG_PCI |
33 | 33 | ||
diff --git a/arch/h8300/kernel/setup.c b/arch/h8300/kernel/setup.c index 7fda657110eb..68d651081bd3 100644 --- a/arch/h8300/kernel/setup.c +++ b/arch/h8300/kernel/setup.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <asm/regs267x.h> | 46 | #include <asm/regs267x.h> |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #define STUBSIZE 0xc000; | 49 | #define STUBSIZE 0xc000 |
50 | 50 | ||
51 | unsigned long rom_length; | 51 | unsigned long rom_length; |
52 | unsigned long memory_start; | 52 | unsigned long memory_start; |
diff --git a/arch/ia64/include/asm/sn/tioce.h b/arch/ia64/include/asm/sn/tioce.h index 893468e1b41b..6eae8ada90f0 100644 --- a/arch/ia64/include/asm/sn/tioce.h +++ b/arch/ia64/include/asm/sn/tioce.h | |||
@@ -467,7 +467,7 @@ typedef volatile struct tioce { | |||
467 | #define CE_LSI_GB_CFG1_RXL0S_THS_SHFT 0 | 467 | #define CE_LSI_GB_CFG1_RXL0S_THS_SHFT 0 |
468 | #define CE_LSI_GB_CFG1_RXL0S_THS_MASK (0xffULL << 0) | 468 | #define CE_LSI_GB_CFG1_RXL0S_THS_MASK (0xffULL << 0) |
469 | #define CE_LSI_GB_CFG1_RXL0S_SMP_SHFT 8 | 469 | #define CE_LSI_GB_CFG1_RXL0S_SMP_SHFT 8 |
470 | #define CE_LSI_GB_CFG1_RXL0S_SMP_MASK (0xfULL << 8); | 470 | #define CE_LSI_GB_CFG1_RXL0S_SMP_MASK (0xfULL << 8) |
471 | #define CE_LSI_GB_CFG1_RXL0S_ADJ_SHFT 12 | 471 | #define CE_LSI_GB_CFG1_RXL0S_ADJ_SHFT 12 |
472 | #define CE_LSI_GB_CFG1_RXL0S_ADJ_MASK (0x7ULL << 12) | 472 | #define CE_LSI_GB_CFG1_RXL0S_ADJ_MASK (0x7ULL << 12) |
473 | #define CE_LSI_GB_CFG1_RXL0S_FLT_SHFT 15 | 473 | #define CE_LSI_GB_CFG1_RXL0S_FLT_SHFT 15 |
diff --git a/arch/mips/include/asm/floppy.h b/arch/mips/include/asm/floppy.h index c5c7c0e6064c..4456c9c47e21 100644 --- a/arch/mips/include/asm/floppy.h +++ b/arch/mips/include/asm/floppy.h | |||
@@ -29,7 +29,7 @@ static inline void fd_cacheflush(char * addr, long size) | |||
29 | #define FLOPPY0_TYPE fd_drive_type(0) | 29 | #define FLOPPY0_TYPE fd_drive_type(0) |
30 | #define FLOPPY1_TYPE fd_drive_type(1) | 30 | #define FLOPPY1_TYPE fd_drive_type(1) |
31 | 31 | ||
32 | #define FDC1 fd_getfdaddr1(); | 32 | #define FDC1 fd_getfdaddr1() |
33 | 33 | ||
34 | #define N_FDC 1 /* do you *really* want a second controller? */ | 34 | #define N_FDC 1 /* do you *really* want a second controller? */ |
35 | #define N_DRIVE 8 | 35 | #define N_DRIVE 8 |
diff --git a/arch/parisc/include/asm/dma-mapping.h b/arch/parisc/include/asm/dma-mapping.h index 4ef73b09b168..890531e32fe8 100644 --- a/arch/parisc/include/asm/dma-mapping.h +++ b/arch/parisc/include/asm/dma-mapping.h | |||
@@ -210,7 +210,7 @@ parisc_walk_tree(struct device *dev) | |||
210 | return dev->platform_data; | 210 | return dev->platform_data; |
211 | } | 211 | } |
212 | 212 | ||
213 | #define GET_IOC(dev) (HBA_DATA(parisc_walk_tree(dev))->iommu); | 213 | #define GET_IOC(dev) (HBA_DATA(parisc_walk_tree(dev))->iommu) |
214 | 214 | ||
215 | 215 | ||
216 | #ifdef CONFIG_IOMMU_CCIO | 216 | #ifdef CONFIG_IOMMU_CCIO |
diff --git a/arch/parisc/math-emu/decode_exc.c b/arch/parisc/math-emu/decode_exc.c index 27a7492ddb0d..04e550e76ae8 100644 --- a/arch/parisc/math-emu/decode_exc.c +++ b/arch/parisc/math-emu/decode_exc.c | |||
@@ -56,7 +56,7 @@ | |||
56 | /* General definitions */ | 56 | /* General definitions */ |
57 | #define DOESTRAP 1 | 57 | #define DOESTRAP 1 |
58 | #define NOTRAP 0 | 58 | #define NOTRAP 0 |
59 | #define SIGNALCODE(signal, code) ((signal) << 24 | (code)); | 59 | #define SIGNALCODE(signal, code) ((signal) << 24 | (code)) |
60 | #define copropbit 1<<31-2 /* bit position 2 */ | 60 | #define copropbit 1<<31-2 /* bit position 2 */ |
61 | #define opclass 9 /* bits 21 & 22 */ | 61 | #define opclass 9 /* bits 21 & 22 */ |
62 | #define fmt 11 /* bits 19 & 20 */ | 62 | #define fmt 11 /* bits 19 & 20 */ |
diff --git a/arch/powerpc/include/asm/elf.h b/arch/powerpc/include/asm/elf.h index 2b917c69ed15..3bf9cca35147 100644 --- a/arch/powerpc/include/asm/elf.h +++ b/arch/powerpc/include/asm/elf.h | |||
@@ -267,7 +267,7 @@ extern int ucache_bsize; | |||
267 | struct linux_binprm; | 267 | struct linux_binprm; |
268 | extern int arch_setup_additional_pages(struct linux_binprm *bprm, | 268 | extern int arch_setup_additional_pages(struct linux_binprm *bprm, |
269 | int uses_interp); | 269 | int uses_interp); |
270 | #define VDSO_AUX_ENT(a,b) NEW_AUX_ENT(a,b); | 270 | #define VDSO_AUX_ENT(a,b) NEW_AUX_ENT(a,b) |
271 | 271 | ||
272 | /* 1GB for 64bit, 8MB for 32bit */ | 272 | /* 1GB for 64bit, 8MB for 32bit */ |
273 | #define STACK_RND_MASK (is_32bit_task() ? \ | 273 | #define STACK_RND_MASK (is_32bit_task() ? \ |
@@ -298,7 +298,7 @@ do { \ | |||
298 | NEW_AUX_ENT(AT_DCACHEBSIZE, dcache_bsize); \ | 298 | NEW_AUX_ENT(AT_DCACHEBSIZE, dcache_bsize); \ |
299 | NEW_AUX_ENT(AT_ICACHEBSIZE, icache_bsize); \ | 299 | NEW_AUX_ENT(AT_ICACHEBSIZE, icache_bsize); \ |
300 | NEW_AUX_ENT(AT_UCACHEBSIZE, ucache_bsize); \ | 300 | NEW_AUX_ENT(AT_UCACHEBSIZE, ucache_bsize); \ |
301 | VDSO_AUX_ENT(AT_SYSINFO_EHDR, current->mm->context.vdso_base) \ | 301 | VDSO_AUX_ENT(AT_SYSINFO_EHDR, current->mm->context.vdso_base); \ |
302 | } while (0) | 302 | } while (0) |
303 | 303 | ||
304 | /* PowerPC64 relocations defined by the ABIs */ | 304 | /* PowerPC64 relocations defined by the ABIs */ |
diff --git a/arch/powerpc/include/asm/smu.h b/arch/powerpc/include/asm/smu.h index e3bdada8c542..ae20ce1af4c7 100644 --- a/arch/powerpc/include/asm/smu.h +++ b/arch/powerpc/include/asm/smu.h | |||
@@ -547,7 +547,7 @@ struct smu_sdbp_header { | |||
547 | * (currently, afaik, this concerns only the FVT partition | 547 | * (currently, afaik, this concerns only the FVT partition |
548 | * (0x12) | 548 | * (0x12) |
549 | */ | 549 | */ |
550 | #define SMU_U16_MIX(x) le16_to_cpu(x); | 550 | #define SMU_U16_MIX(x) le16_to_cpu(x) |
551 | #define SMU_U32_MIX(x) ((((x) & 0xff00ff00u) >> 8)|(((x) & 0x00ff00ffu) << 8)) | 551 | #define SMU_U32_MIX(x) ((((x) & 0xff00ff00u) >> 8)|(((x) & 0x00ff00ffu) << 8)) |
552 | 552 | ||
553 | 553 | ||
diff --git a/arch/sparc/include/asm/elf_64.h b/arch/sparc/include/asm/elf_64.h index e67880381b84..cfa9cd2e5519 100644 --- a/arch/sparc/include/asm/elf_64.h +++ b/arch/sparc/include/asm/elf_64.h | |||
@@ -186,7 +186,7 @@ static inline unsigned int sparc64_elf_hwcap(void) | |||
186 | return cap; | 186 | return cap; |
187 | } | 187 | } |
188 | 188 | ||
189 | #define ELF_HWCAP sparc64_elf_hwcap(); | 189 | #define ELF_HWCAP sparc64_elf_hwcap() |
190 | 190 | ||
191 | /* This yields a string that ld.so will use to load implementation | 191 | /* This yields a string that ld.so will use to load implementation |
192 | specific libraries for optimization. This is more specific in | 192 | specific libraries for optimization. This is more specific in |
diff --git a/arch/um/sys-i386/signal.c b/arch/um/sys-i386/signal.c index 129647375a6c..89a46626bfd8 100644 --- a/arch/um/sys-i386/signal.c +++ b/arch/um/sys-i386/signal.c | |||
@@ -58,7 +58,7 @@ static inline unsigned long twd_fxsr_to_i387(struct user_fxsr_struct *fxsave) | |||
58 | unsigned long ret = 0xffff0000; | 58 | unsigned long ret = 0xffff0000; |
59 | int i; | 59 | int i; |
60 | 60 | ||
61 | #define FPREG_ADDR(f, n) ((char *)&(f)->st_space + (n) * 16); | 61 | #define FPREG_ADDR(f, n) ((char *)&(f)->st_space + (n) * 16) |
62 | 62 | ||
63 | for (i = 0; i < 8; i++) { | 63 | for (i = 0; i < 8; i++) { |
64 | if (twd & 0x1) { | 64 | if (twd & 0x1) { |
diff --git a/arch/x86/kernel/i387.c b/arch/x86/kernel/i387.c index 12aff2537682..739d8598f789 100644 --- a/arch/x86/kernel/i387.c +++ b/arch/x86/kernel/i387.c | |||
@@ -321,7 +321,7 @@ static inline unsigned short twd_i387_to_fxsr(unsigned short twd) | |||
321 | return tmp; | 321 | return tmp; |
322 | } | 322 | } |
323 | 323 | ||
324 | #define FPREG_ADDR(f, n) ((void *)&(f)->st_space + (n) * 16); | 324 | #define FPREG_ADDR(f, n) ((void *)&(f)->st_space + (n) * 16) |
325 | #define FP_EXP_TAG_VALID 0 | 325 | #define FP_EXP_TAG_VALID 0 |
326 | #define FP_EXP_TAG_ZERO 1 | 326 | #define FP_EXP_TAG_ZERO 1 |
327 | #define FP_EXP_TAG_SPECIAL 2 | 327 | #define FP_EXP_TAG_SPECIAL 2 |
diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c index 58c3f74bd84c..6512b20aeccd 100644 --- a/drivers/acpi/ac.c +++ b/drivers/acpi/ac.c | |||
@@ -89,7 +89,7 @@ struct acpi_ac { | |||
89 | unsigned long long state; | 89 | unsigned long long state; |
90 | }; | 90 | }; |
91 | 91 | ||
92 | #define to_acpi_ac(x) container_of(x, struct acpi_ac, charger); | 92 | #define to_acpi_ac(x) container_of(x, struct acpi_ac, charger) |
93 | 93 | ||
94 | #ifdef CONFIG_ACPI_PROCFS_POWER | 94 | #ifdef CONFIG_ACPI_PROCFS_POWER |
95 | static const struct file_operations acpi_ac_fops = { | 95 | static const struct file_operations acpi_ac_fops = { |
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c index fcc13ac0aa18..2c661353e8f2 100644 --- a/drivers/acpi/battery.c +++ b/drivers/acpi/battery.c | |||
@@ -132,7 +132,7 @@ struct acpi_battery { | |||
132 | unsigned long flags; | 132 | unsigned long flags; |
133 | }; | 133 | }; |
134 | 134 | ||
135 | #define to_acpi_battery(x) container_of(x, struct acpi_battery, bat); | 135 | #define to_acpi_battery(x) container_of(x, struct acpi_battery, bat) |
136 | 136 | ||
137 | inline int acpi_battery_present(struct acpi_battery *battery) | 137 | inline int acpi_battery_present(struct acpi_battery *battery) |
138 | { | 138 | { |
diff --git a/drivers/acpi/sbs.c b/drivers/acpi/sbs.c index 51ae3794ec7f..50658ff887d9 100644 --- a/drivers/acpi/sbs.c +++ b/drivers/acpi/sbs.c | |||
@@ -112,7 +112,7 @@ struct acpi_battery { | |||
112 | u8 have_sysfs_alarm:1; | 112 | u8 have_sysfs_alarm:1; |
113 | }; | 113 | }; |
114 | 114 | ||
115 | #define to_acpi_battery(x) container_of(x, struct acpi_battery, bat); | 115 | #define to_acpi_battery(x) container_of(x, struct acpi_battery, bat) |
116 | 116 | ||
117 | struct acpi_sbs { | 117 | struct acpi_sbs { |
118 | struct power_supply charger; | 118 | struct power_supply charger; |
diff --git a/drivers/gpu/drm/sis/sis_drv.h b/drivers/gpu/drm/sis/sis_drv.h index ef940bad63f7..194303c177ad 100644 --- a/drivers/gpu/drm/sis/sis_drv.h +++ b/drivers/gpu/drm/sis/sis_drv.h | |||
@@ -48,8 +48,8 @@ enum sis_family { | |||
48 | 48 | ||
49 | 49 | ||
50 | #define SIS_BASE (dev_priv->mmio) | 50 | #define SIS_BASE (dev_priv->mmio) |
51 | #define SIS_READ(reg) DRM_READ32(SIS_BASE, reg); | 51 | #define SIS_READ(reg) DRM_READ32(SIS_BASE, reg) |
52 | #define SIS_WRITE(reg, val) DRM_WRITE32(SIS_BASE, reg, val); | 52 | #define SIS_WRITE(reg, val) DRM_WRITE32(SIS_BASE, reg, val) |
53 | 53 | ||
54 | typedef struct drm_sis_private { | 54 | typedef struct drm_sis_private { |
55 | drm_local_map_t *mmio; | 55 | drm_local_map_t *mmio; |
diff --git a/drivers/hwmon/gl520sm.c b/drivers/hwmon/gl520sm.c index ec588026f0a9..131ea8625f08 100644 --- a/drivers/hwmon/gl520sm.c +++ b/drivers/hwmon/gl520sm.c | |||
@@ -273,7 +273,7 @@ static SENSOR_DEVICE_ATTR(in4_max, S_IRUGO | S_IWUSR, | |||
273 | 273 | ||
274 | #define DIV_FROM_REG(val) (1 << (val)) | 274 | #define DIV_FROM_REG(val) (1 << (val)) |
275 | #define FAN_FROM_REG(val,div) ((val)==0 ? 0 : (480000/((val) << (div)))) | 275 | #define FAN_FROM_REG(val,div) ((val)==0 ? 0 : (480000/((val) << (div)))) |
276 | #define FAN_TO_REG(val,div) ((val)<=0?0:SENSORS_LIMIT((480000 + ((val) << ((div)-1))) / ((val) << (div)), 1, 255)); | 276 | #define FAN_TO_REG(val,div) ((val)<=0?0:SENSORS_LIMIT((480000 + ((val) << ((div)-1))) / ((val) << (div)), 1, 255)) |
277 | 277 | ||
278 | static ssize_t get_fan_input(struct device *dev, struct device_attribute *attr, | 278 | static ssize_t get_fan_input(struct device *dev, struct device_attribute *attr, |
279 | char *buf) | 279 | char *buf) |
diff --git a/drivers/isdn/i4l/isdn_bsdcomp.c b/drivers/isdn/i4l/isdn_bsdcomp.c index 02d9918705dd..aa0b6a6f5ef4 100644 --- a/drivers/isdn/i4l/isdn_bsdcomp.c +++ b/drivers/isdn/i4l/isdn_bsdcomp.c | |||
@@ -155,7 +155,7 @@ struct bsd_db { | |||
155 | #define LAST 255 | 155 | #define LAST 255 |
156 | 156 | ||
157 | #define MAXCODE(b) ((1 << (b)) - 1) | 157 | #define MAXCODE(b) ((1 << (b)) - 1) |
158 | #define BADCODEM1 MAXCODE(MAX_BSD_BITS); | 158 | #define BADCODEM1 MAXCODE(MAX_BSD_BITS) |
159 | 159 | ||
160 | #define BSD_HASH(prefix,suffix,hshift) ((((unsigned long)(suffix))<<(hshift)) \ | 160 | #define BSD_HASH(prefix,suffix,hshift) ((((unsigned long)(suffix))<<(hshift)) \ |
161 | ^ (unsigned long)(prefix)) | 161 | ^ (unsigned long)(prefix)) |
diff --git a/drivers/net/bsd_comp.c b/drivers/net/bsd_comp.c index 6e99d80ec409..a9b759add187 100644 --- a/drivers/net/bsd_comp.c +++ b/drivers/net/bsd_comp.c | |||
@@ -201,7 +201,7 @@ extern void ppp_unregister_compressor (struct compressor *cp); | |||
201 | #define LAST 255 | 201 | #define LAST 255 |
202 | 202 | ||
203 | #define MAXCODE(b) ((1 << (b)) - 1) | 203 | #define MAXCODE(b) ((1 << (b)) - 1) |
204 | #define BADCODEM1 MAXCODE(MAX_BSD_BITS); | 204 | #define BADCODEM1 MAXCODE(MAX_BSD_BITS) |
205 | 205 | ||
206 | #define BSD_HASH(prefix,suffix,hshift) ((((unsigned long)(suffix))<<(hshift)) \ | 206 | #define BSD_HASH(prefix,suffix,hshift) ((((unsigned long)(suffix))<<(hshift)) \ |
207 | ^ (unsigned long)(prefix)) | 207 | ^ (unsigned long)(prefix)) |
diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c index 68e6b0224edd..c69f82a17c28 100644 --- a/drivers/net/natsemi.c +++ b/drivers/net/natsemi.c | |||
@@ -1382,7 +1382,7 @@ static int find_mii(struct net_device *dev) | |||
1382 | /* WCSR bits [0:4] [9:10] */ | 1382 | /* WCSR bits [0:4] [9:10] */ |
1383 | #define WCSR_RESET_SAVE 0x61f | 1383 | #define WCSR_RESET_SAVE 0x61f |
1384 | /* RFCR bits [20] [22] [27:31] */ | 1384 | /* RFCR bits [20] [22] [27:31] */ |
1385 | #define RFCR_RESET_SAVE 0xf8500000; | 1385 | #define RFCR_RESET_SAVE 0xf8500000 |
1386 | 1386 | ||
1387 | static void natsemi_reset(struct net_device *dev) | 1387 | static void natsemi_reset(struct net_device *dev) |
1388 | { | 1388 | { |
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 5990621fb5cd..6f3630618fa8 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -667,7 +667,7 @@ struct rtl8169_private { | |||
667 | u32 saved_wolopts; | 667 | u32 saved_wolopts; |
668 | 668 | ||
669 | const struct firmware *fw; | 669 | const struct firmware *fw; |
670 | #define RTL_FIRMWARE_UNKNOWN ERR_PTR(-EAGAIN); | 670 | #define RTL_FIRMWARE_UNKNOWN ERR_PTR(-EAGAIN) |
671 | }; | 671 | }; |
672 | 672 | ||
673 | MODULE_AUTHOR("Realtek and the Linux r8169 crew <netdev@vger.kernel.org>"); | 673 | MODULE_AUTHOR("Realtek and the Linux r8169 crew <netdev@vger.kernel.org>"); |
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h index 800b3a44e653..57a4dc7c7d7a 100644 --- a/drivers/net/s2io.h +++ b/drivers/net/s2io.h | |||
@@ -968,8 +968,8 @@ struct s2io_nic { | |||
968 | u8 serial_num[VPD_STRING_LEN]; | 968 | u8 serial_num[VPD_STRING_LEN]; |
969 | }; | 969 | }; |
970 | 970 | ||
971 | #define RESET_ERROR 1; | 971 | #define RESET_ERROR 1 |
972 | #define CMD_ERROR 2; | 972 | #define CMD_ERROR 2 |
973 | 973 | ||
974 | /* OS related system calls */ | 974 | /* OS related system calls */ |
975 | #ifndef readq | 975 | #ifndef readq |
diff --git a/drivers/net/wireless/iwlegacy/iwl-commands.h b/drivers/net/wireless/iwlegacy/iwl-commands.h index 17a1d504348e..6a5c76e7345f 100644 --- a/drivers/net/wireless/iwlegacy/iwl-commands.h +++ b/drivers/net/wireless/iwlegacy/iwl-commands.h | |||
@@ -2624,8 +2624,8 @@ struct iwl_scanstart_notification { | |||
2624 | __le32 status; | 2624 | __le32 status; |
2625 | } __packed; | 2625 | } __packed; |
2626 | 2626 | ||
2627 | #define SCAN_OWNER_STATUS 0x1; | 2627 | #define SCAN_OWNER_STATUS 0x1 |
2628 | #define MEASURE_OWNER_STATUS 0x2; | 2628 | #define MEASURE_OWNER_STATUS 0x2 |
2629 | 2629 | ||
2630 | #define IWL_PROBE_STATUS_OK 0 | 2630 | #define IWL_PROBE_STATUS_OK 0 |
2631 | #define IWL_PROBE_STATUS_TX_FAILED BIT(0) | 2631 | #define IWL_PROBE_STATUS_TX_FAILED BIT(0) |
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index 6ee5f1aa555c..6288d1fdfcc6 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h | |||
@@ -2457,8 +2457,8 @@ struct iwl_scanstart_notification { | |||
2457 | __le32 status; | 2457 | __le32 status; |
2458 | } __packed; | 2458 | } __packed; |
2459 | 2459 | ||
2460 | #define SCAN_OWNER_STATUS 0x1; | 2460 | #define SCAN_OWNER_STATUS 0x1 |
2461 | #define MEASURE_OWNER_STATUS 0x2; | 2461 | #define MEASURE_OWNER_STATUS 0x2 |
2462 | 2462 | ||
2463 | #define IWL_PROBE_STATUS_OK 0 | 2463 | #define IWL_PROBE_STATUS_OK 0 |
2464 | #define IWL_PROBE_STATUS_TX_FAILED BIT(0) | 2464 | #define IWL_PROBE_STATUS_TX_FAILED BIT(0) |
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/reg.h b/drivers/net/wireless/rtlwifi/rtl8192ce/reg.h index 598cecc63f41..5b43749031dd 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/reg.h +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/reg.h | |||
@@ -1074,10 +1074,10 @@ | |||
1074 | #define _SRL(x) (((x) & 0x3F) << 8) | 1074 | #define _SRL(x) (((x) & 0x3F) << 8) |
1075 | 1075 | ||
1076 | #define _SIFS_CCK_CTX(x) ((x) & 0xFF) | 1076 | #define _SIFS_CCK_CTX(x) ((x) & 0xFF) |
1077 | #define _SIFS_CCK_TRX(x) (((x) & 0xFF) << 8); | 1077 | #define _SIFS_CCK_TRX(x) (((x) & 0xFF) << 8) |
1078 | 1078 | ||
1079 | #define _SIFS_OFDM_CTX(x) ((x) & 0xFF) | 1079 | #define _SIFS_OFDM_CTX(x) ((x) & 0xFF) |
1080 | #define _SIFS_OFDM_TRX(x) (((x) & 0xFF) << 8); | 1080 | #define _SIFS_OFDM_TRX(x) (((x) & 0xFF) << 8) |
1081 | 1081 | ||
1082 | #define _TBTT_PROHIBIT_HOLD(x) (((x) & 0xFF) << 8) | 1082 | #define _TBTT_PROHIBIT_HOLD(x) (((x) & 0xFF) << 8) |
1083 | 1083 | ||
diff --git a/drivers/scsi/device_handler/scsi_dh_rdac.c b/drivers/scsi/device_handler/scsi_dh_rdac.c index e7fc70d6b478..2e7c136bb805 100644 --- a/drivers/scsi/device_handler/scsi_dh_rdac.c +++ b/drivers/scsi/device_handler/scsi_dh_rdac.c | |||
@@ -35,7 +35,7 @@ | |||
35 | * mode page were taken from the LSI RDAC 2.4 GPL'd | 35 | * mode page were taken from the LSI RDAC 2.4 GPL'd |
36 | * driver, and then converted to Linux conventions. | 36 | * driver, and then converted to Linux conventions. |
37 | */ | 37 | */ |
38 | #define RDAC_QUIESCENCE_TIME 20; | 38 | #define RDAC_QUIESCENCE_TIME 20 |
39 | /* | 39 | /* |
40 | * Page Codes | 40 | * Page Codes |
41 | */ | 41 | */ |
diff --git a/drivers/scsi/lpfc/lpfc_hw.h b/drivers/scsi/lpfc/lpfc_hw.h index 9059524cf225..ab4c4d651d0c 100644 --- a/drivers/scsi/lpfc/lpfc_hw.h +++ b/drivers/scsi/lpfc/lpfc_hw.h | |||
@@ -2955,18 +2955,18 @@ typedef struct _SLI2_RDSC { | |||
2955 | typedef struct _PCB { | 2955 | typedef struct _PCB { |
2956 | #ifdef __BIG_ENDIAN_BITFIELD | 2956 | #ifdef __BIG_ENDIAN_BITFIELD |
2957 | uint32_t type:8; | 2957 | uint32_t type:8; |
2958 | #define TYPE_NATIVE_SLI2 0x01; | 2958 | #define TYPE_NATIVE_SLI2 0x01 |
2959 | uint32_t feature:8; | 2959 | uint32_t feature:8; |
2960 | #define FEATURE_INITIAL_SLI2 0x01; | 2960 | #define FEATURE_INITIAL_SLI2 0x01 |
2961 | uint32_t rsvd:12; | 2961 | uint32_t rsvd:12; |
2962 | uint32_t maxRing:4; | 2962 | uint32_t maxRing:4; |
2963 | #else /* __LITTLE_ENDIAN_BITFIELD */ | 2963 | #else /* __LITTLE_ENDIAN_BITFIELD */ |
2964 | uint32_t maxRing:4; | 2964 | uint32_t maxRing:4; |
2965 | uint32_t rsvd:12; | 2965 | uint32_t rsvd:12; |
2966 | uint32_t feature:8; | 2966 | uint32_t feature:8; |
2967 | #define FEATURE_INITIAL_SLI2 0x01; | 2967 | #define FEATURE_INITIAL_SLI2 0x01 |
2968 | uint32_t type:8; | 2968 | uint32_t type:8; |
2969 | #define TYPE_NATIVE_SLI2 0x01; | 2969 | #define TYPE_NATIVE_SLI2 0x01 |
2970 | #endif | 2970 | #endif |
2971 | 2971 | ||
2972 | uint32_t mailBoxSize; | 2972 | uint32_t mailBoxSize; |
diff --git a/drivers/usb/otg/twl4030-usb.c b/drivers/usb/otg/twl4030-usb.c index efeb4d1517ff..14f66c358629 100644 --- a/drivers/usb/otg/twl4030-usb.c +++ b/drivers/usb/otg/twl4030-usb.c | |||
@@ -166,7 +166,7 @@ struct twl4030_usb { | |||
166 | }; | 166 | }; |
167 | 167 | ||
168 | /* internal define on top of container_of */ | 168 | /* internal define on top of container_of */ |
169 | #define xceiv_to_twl(x) container_of((x), struct twl4030_usb, otg); | 169 | #define xceiv_to_twl(x) container_of((x), struct twl4030_usb, otg) |
170 | 170 | ||
171 | /*-------------------------------------------------------------------------*/ | 171 | /*-------------------------------------------------------------------------*/ |
172 | 172 | ||
diff --git a/drivers/video/i810/i810.h b/drivers/video/i810/i810.h index f37de60ecc59..1414b73ac55b 100644 --- a/drivers/video/i810/i810.h +++ b/drivers/video/i810/i810.h | |||
@@ -137,7 +137,7 @@ | |||
137 | #define DRAM_ON 0x08 | 137 | #define DRAM_ON 0x08 |
138 | #define DRAM_OFF 0xE7 | 138 | #define DRAM_OFF 0xE7 |
139 | #define PG_ENABLE_MASK 0x01 | 139 | #define PG_ENABLE_MASK 0x01 |
140 | #define RING_SIZE_MASK (RINGBUFFER_SIZE - 1); | 140 | #define RING_SIZE_MASK (RINGBUFFER_SIZE - 1) |
141 | 141 | ||
142 | /* defines for restoring registers partially */ | 142 | /* defines for restoring registers partially */ |
143 | #define ADDR_MAP_MASK (0x07 << 5) | 143 | #define ADDR_MAP_MASK (0x07 << 5) |
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h index 6365f041745b..563755181c1e 100644 --- a/include/linux/ceph/libceph.h +++ b/include/linux/ceph/libceph.h | |||
@@ -35,7 +35,7 @@ | |||
35 | #define CEPH_OPT_MYIP (1<<2) /* specified my ip */ | 35 | #define CEPH_OPT_MYIP (1<<2) /* specified my ip */ |
36 | #define CEPH_OPT_NOCRC (1<<3) /* no data crc on writes */ | 36 | #define CEPH_OPT_NOCRC (1<<3) /* no data crc on writes */ |
37 | 37 | ||
38 | #define CEPH_OPT_DEFAULT (0); | 38 | #define CEPH_OPT_DEFAULT (0) |
39 | 39 | ||
40 | #define ceph_set_opt(client, opt) \ | 40 | #define ceph_set_opt(client, opt) \ |
41 | (client)->options->flags |= CEPH_OPT_##opt; | 41 | (client)->options->flags |= CEPH_OPT_##opt; |
diff --git a/include/linux/mfd/tps65910.h b/include/linux/mfd/tps65910.h index 8bb85b930c07..73572c65d04f 100644 --- a/include/linux/mfd/tps65910.h +++ b/include/linux/mfd/tps65910.h | |||
@@ -269,7 +269,7 @@ | |||
269 | #define LDO1_SEL_MASK 0xFC | 269 | #define LDO1_SEL_MASK 0xFC |
270 | #define LDO3_SEL_MASK 0x7C | 270 | #define LDO3_SEL_MASK 0x7C |
271 | #define LDO_MIN_VOLT 1000 | 271 | #define LDO_MIN_VOLT 1000 |
272 | #define LDO_MAX_VOLT 3300; | 272 | #define LDO_MAX_VOLT 3300 |
273 | 273 | ||
274 | 274 | ||
275 | /*Register VDIG1 (0x80) register.RegisterDescription */ | 275 | /*Register VDIG1 (0x80) register.RegisterDescription */ |
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index 3668903e397b..8001ae4cd7ba 100644 --- a/include/scsi/scsi.h +++ b/include/scsi/scsi.h | |||
@@ -495,7 +495,7 @@ static inline int scsi_is_wlun(unsigned int lun) | |||
495 | 495 | ||
496 | #define sense_class(sense) (((sense) >> 4) & 0x7) | 496 | #define sense_class(sense) (((sense) >> 4) & 0x7) |
497 | #define sense_error(sense) ((sense) & 0xf) | 497 | #define sense_error(sense) ((sense) & 0xf) |
498 | #define sense_valid(sense) ((sense) & 0x80); | 498 | #define sense_valid(sense) ((sense) & 0x80) |
499 | 499 | ||
500 | /* | 500 | /* |
501 | * default timeouts | 501 | * default timeouts |
diff --git a/include/sound/soundfont.h b/include/sound/soundfont.h index f95d99ba7f74..679df0574066 100644 --- a/include/sound/soundfont.h +++ b/include/sound/soundfont.h | |||
@@ -121,7 +121,7 @@ int snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel, | |||
121 | int snd_sf_calc_parm_hold(int msec); | 121 | int snd_sf_calc_parm_hold(int msec); |
122 | int snd_sf_calc_parm_attack(int msec); | 122 | int snd_sf_calc_parm_attack(int msec); |
123 | int snd_sf_calc_parm_decay(int msec); | 123 | int snd_sf_calc_parm_decay(int msec); |
124 | #define snd_sf_calc_parm_delay(msec) (0x8000 - (msec) * 1000 / 725); | 124 | #define snd_sf_calc_parm_delay(msec) (0x8000 - (msec) * 1000 / 725) |
125 | extern int snd_sf_vol_table[128]; | 125 | extern int snd_sf_vol_table[128]; |
126 | int snd_sf_linear_to_log(unsigned int amount, int offset, int ratio); | 126 | int snd_sf_linear_to_log(unsigned int amount, int offset, int ratio); |
127 | 127 | ||
@@ -4058,7 +4058,7 @@ static int any_slab_objects(struct kmem_cache *s) | |||
4058 | #endif | 4058 | #endif |
4059 | 4059 | ||
4060 | #define to_slab_attr(n) container_of(n, struct slab_attribute, attr) | 4060 | #define to_slab_attr(n) container_of(n, struct slab_attribute, attr) |
4061 | #define to_slab(n) container_of(n, struct kmem_cache, kobj); | 4061 | #define to_slab(n) container_of(n, struct kmem_cache, kobj) |
4062 | 4062 | ||
4063 | struct slab_attribute { | 4063 | struct slab_attribute { |
4064 | struct attribute attr; | 4064 | struct attribute attr; |
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c index 2b18053070c1..3460108810d5 100644 --- a/net/mac80211/mesh_hwmp.c +++ b/net/mac80211/mesh_hwmp.c | |||
@@ -57,29 +57,29 @@ static inline u32 u16_field_get(u8 *preq_elem, int offset, bool ae) | |||
57 | #define PREQ_IE_TTL(x) (*(x + 2)) | 57 | #define PREQ_IE_TTL(x) (*(x + 2)) |
58 | #define PREQ_IE_PREQ_ID(x) u32_field_get(x, 3, 0) | 58 | #define PREQ_IE_PREQ_ID(x) u32_field_get(x, 3, 0) |
59 | #define PREQ_IE_ORIG_ADDR(x) (x + 7) | 59 | #define PREQ_IE_ORIG_ADDR(x) (x + 7) |
60 | #define PREQ_IE_ORIG_SN(x) u32_field_get(x, 13, 0); | 60 | #define PREQ_IE_ORIG_SN(x) u32_field_get(x, 13, 0) |
61 | #define PREQ_IE_LIFETIME(x) u32_field_get(x, 17, AE_F_SET(x)); | 61 | #define PREQ_IE_LIFETIME(x) u32_field_get(x, 17, AE_F_SET(x)) |
62 | #define PREQ_IE_METRIC(x) u32_field_get(x, 21, AE_F_SET(x)); | 62 | #define PREQ_IE_METRIC(x) u32_field_get(x, 21, AE_F_SET(x)) |
63 | #define PREQ_IE_TARGET_F(x) (*(AE_F_SET(x) ? x + 32 : x + 26)) | 63 | #define PREQ_IE_TARGET_F(x) (*(AE_F_SET(x) ? x + 32 : x + 26)) |
64 | #define PREQ_IE_TARGET_ADDR(x) (AE_F_SET(x) ? x + 33 : x + 27) | 64 | #define PREQ_IE_TARGET_ADDR(x) (AE_F_SET(x) ? x + 33 : x + 27) |
65 | #define PREQ_IE_TARGET_SN(x) u32_field_get(x, 33, AE_F_SET(x)); | 65 | #define PREQ_IE_TARGET_SN(x) u32_field_get(x, 33, AE_F_SET(x)) |
66 | 66 | ||
67 | 67 | ||
68 | #define PREP_IE_FLAGS(x) PREQ_IE_FLAGS(x) | 68 | #define PREP_IE_FLAGS(x) PREQ_IE_FLAGS(x) |
69 | #define PREP_IE_HOPCOUNT(x) PREQ_IE_HOPCOUNT(x) | 69 | #define PREP_IE_HOPCOUNT(x) PREQ_IE_HOPCOUNT(x) |
70 | #define PREP_IE_TTL(x) PREQ_IE_TTL(x) | 70 | #define PREP_IE_TTL(x) PREQ_IE_TTL(x) |
71 | #define PREP_IE_ORIG_ADDR(x) (x + 3) | 71 | #define PREP_IE_ORIG_ADDR(x) (x + 3) |
72 | #define PREP_IE_ORIG_SN(x) u32_field_get(x, 9, 0); | 72 | #define PREP_IE_ORIG_SN(x) u32_field_get(x, 9, 0) |
73 | #define PREP_IE_LIFETIME(x) u32_field_get(x, 13, AE_F_SET(x)); | 73 | #define PREP_IE_LIFETIME(x) u32_field_get(x, 13, AE_F_SET(x)) |
74 | #define PREP_IE_METRIC(x) u32_field_get(x, 17, AE_F_SET(x)); | 74 | #define PREP_IE_METRIC(x) u32_field_get(x, 17, AE_F_SET(x)) |
75 | #define PREP_IE_TARGET_ADDR(x) (AE_F_SET(x) ? x + 27 : x + 21) | 75 | #define PREP_IE_TARGET_ADDR(x) (AE_F_SET(x) ? x + 27 : x + 21) |
76 | #define PREP_IE_TARGET_SN(x) u32_field_get(x, 27, AE_F_SET(x)); | 76 | #define PREP_IE_TARGET_SN(x) u32_field_get(x, 27, AE_F_SET(x)) |
77 | 77 | ||
78 | #define PERR_IE_TTL(x) (*(x)) | 78 | #define PERR_IE_TTL(x) (*(x)) |
79 | #define PERR_IE_TARGET_FLAGS(x) (*(x + 2)) | 79 | #define PERR_IE_TARGET_FLAGS(x) (*(x + 2)) |
80 | #define PERR_IE_TARGET_ADDR(x) (x + 3) | 80 | #define PERR_IE_TARGET_ADDR(x) (x + 3) |
81 | #define PERR_IE_TARGET_SN(x) u32_field_get(x, 9, 0); | 81 | #define PERR_IE_TARGET_SN(x) u32_field_get(x, 9, 0) |
82 | #define PERR_IE_TARGET_RCODE(x) u16_field_get(x, 13, 0); | 82 | #define PERR_IE_TARGET_RCODE(x) u16_field_get(x, 13, 0) |
83 | 83 | ||
84 | #define MSEC_TO_TU(x) (x*1000/1024) | 84 | #define MSEC_TO_TU(x) (x*1000/1024) |
85 | #define SN_GT(x, y) ((long) (y) - (long) (x) < 0) | 85 | #define SN_GT(x, y) ((long) (y) - (long) (x) < 0) |