aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ata/Kconfig2
-rw-r--r--drivers/scsi/aacraid/commsup.c1
-rw-r--r--include/asm-frv/libata-portmap.h1
-rw-r--r--include/linux/netfilter/x_tables.h4
-rw-r--r--include/net/netlabel.h2
-rw-r--r--net/ipv4/netfilter/ip_tables.c6
-rw-r--r--sound/drivers/mts64.c2
-rw-r--r--sound/sparc/dbri.c6
8 files changed, 14 insertions, 10 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 5a8bdac5f5e8..99837d932f36 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -6,6 +6,8 @@ menu "Serial ATA (prod) and Parallel ATA (experimental) drivers"
6 6
7config ATA 7config ATA
8 tristate "ATA device support" 8 tristate "ATA device support"
9 depends on !(M32R || M68K) || BROKEN
10 depends on !SUN4 || BROKEN
9 select SCSI 11 select SCSI
10 ---help--- 12 ---help---
11 If you want to use a ATA hard disk, ATA tape drive, ATA CD-ROM or 13 If you want to use a ATA hard disk, ATA tape drive, ATA CD-ROM or
diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c
index 8734a045558e..19e42ac07cb2 100644
--- a/drivers/scsi/aacraid/commsup.c
+++ b/drivers/scsi/aacraid/commsup.c
@@ -40,6 +40,7 @@
40#include <linux/blkdev.h> 40#include <linux/blkdev.h>
41#include <linux/delay.h> 41#include <linux/delay.h>
42#include <linux/kthread.h> 42#include <linux/kthread.h>
43#include <linux/interrupt.h>
43#include <scsi/scsi.h> 44#include <scsi/scsi.h>
44#include <scsi/scsi_host.h> 45#include <scsi/scsi_host.h>
45#include <scsi/scsi_device.h> 46#include <scsi/scsi_device.h>
diff --git a/include/asm-frv/libata-portmap.h b/include/asm-frv/libata-portmap.h
new file mode 100644
index 000000000000..75484ef0c743
--- /dev/null
+++ b/include/asm-frv/libata-portmap.h
@@ -0,0 +1 @@
#include <asm-generic/libata-portmap.h>
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h
index 739a98eebe2c..04319a76103a 100644
--- a/include/linux/netfilter/x_tables.h
+++ b/include/linux/netfilter/x_tables.h
@@ -390,13 +390,13 @@ extern int xt_compat_match_offset(struct xt_match *match);
390extern void xt_compat_match_from_user(struct xt_entry_match *m, 390extern void xt_compat_match_from_user(struct xt_entry_match *m,
391 void **dstptr, int *size); 391 void **dstptr, int *size);
392extern int xt_compat_match_to_user(struct xt_entry_match *m, 392extern int xt_compat_match_to_user(struct xt_entry_match *m,
393 void * __user *dstptr, int *size); 393 void __user **dstptr, int *size);
394 394
395extern int xt_compat_target_offset(struct xt_target *target); 395extern int xt_compat_target_offset(struct xt_target *target);
396extern void xt_compat_target_from_user(struct xt_entry_target *t, 396extern void xt_compat_target_from_user(struct xt_entry_target *t,
397 void **dstptr, int *size); 397 void **dstptr, int *size);
398extern int xt_compat_target_to_user(struct xt_entry_target *t, 398extern int xt_compat_target_to_user(struct xt_entry_target *t,
399 void * __user *dstptr, int *size); 399 void __user **dstptr, int *size);
400 400
401#endif /* CONFIG_COMPAT */ 401#endif /* CONFIG_COMPAT */
402#endif /* __KERNEL__ */ 402#endif /* __KERNEL__ */
diff --git a/include/net/netlabel.h b/include/net/netlabel.h
index fc2b72fc7e07..dd5780b36919 100644
--- a/include/net/netlabel.h
+++ b/include/net/netlabel.h
@@ -108,7 +108,7 @@
108 */ 108 */
109static inline struct sk_buff *netlbl_netlink_alloc_skb(size_t head, 109static inline struct sk_buff *netlbl_netlink_alloc_skb(size_t head,
110 size_t body, 110 size_t body,
111 int gfp_flags) 111 gfp_t gfp_flags)
112{ 112{
113 struct sk_buff *skb; 113 struct sk_buff *skb;
114 114
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c
index 800067d69a9a..78a44b01c035 100644
--- a/net/ipv4/netfilter/ip_tables.c
+++ b/net/ipv4/netfilter/ip_tables.c
@@ -1364,15 +1364,15 @@ struct compat_ipt_replace {
1364}; 1364};
1365 1365
1366static inline int compat_copy_match_to_user(struct ipt_entry_match *m, 1366static inline int compat_copy_match_to_user(struct ipt_entry_match *m,
1367 void * __user *dstptr, compat_uint_t *size) 1367 void __user **dstptr, compat_uint_t *size)
1368{ 1368{
1369 return xt_compat_match_to_user(m, dstptr, size); 1369 return xt_compat_match_to_user(m, dstptr, size);
1370} 1370}
1371 1371
1372static int compat_copy_entry_to_user(struct ipt_entry *e, 1372static int compat_copy_entry_to_user(struct ipt_entry *e,
1373 void * __user *dstptr, compat_uint_t *size) 1373 void __user **dstptr, compat_uint_t *size)
1374{ 1374{
1375 struct ipt_entry_target __user *t; 1375 struct ipt_entry_target *t;
1376 struct compat_ipt_entry __user *ce; 1376 struct compat_ipt_entry __user *ce;
1377 u_int16_t target_offset, next_offset; 1377 u_int16_t target_offset, next_offset;
1378 compat_uint_t origsize; 1378 compat_uint_t origsize;
diff --git a/sound/drivers/mts64.c b/sound/drivers/mts64.c
index 169987302ae4..ab8d4effcf9e 100644
--- a/sound/drivers/mts64.c
+++ b/sound/drivers/mts64.c
@@ -677,7 +677,7 @@ static int __devinit snd_mts64_ctl_create(struct snd_card *card,
677 &mts64_ctl_smpte_time_seconds, 677 &mts64_ctl_smpte_time_seconds,
678 &mts64_ctl_smpte_time_frames, 678 &mts64_ctl_smpte_time_frames,
679 &mts64_ctl_smpte_fps, 679 &mts64_ctl_smpte_fps,
680 0 }; 680 NULL };
681 681
682 for (i = 0; control[i]; ++i) { 682 for (i = 0; control[i]; ++i) {
683 err = snd_ctl_add(card, snd_ctl_new1(control[i], mts)); 683 err = snd_ctl_add(card, snd_ctl_new1(control[i], mts));
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c
index e4935fca12df..8016541ec16d 100644
--- a/sound/sparc/dbri.c
+++ b/sound/sparc/dbri.c
@@ -669,7 +669,7 @@ static s32 *dbri_cmdlock(struct snd_dbri * dbri, int len)
669 else 669 else
670 printk(KERN_ERR "DBRI: no space for commands."); 670 printk(KERN_ERR "DBRI: no space for commands.");
671 671
672 return 0; 672 return NULL;
673} 673}
674 674
675/* 675/*
@@ -2037,10 +2037,10 @@ static int snd_dbri_open(struct snd_pcm_substream *substream)
2037 spin_unlock_irqrestore(&dbri->lock, flags); 2037 spin_unlock_irqrestore(&dbri->lock, flags);
2038 2038
2039 snd_pcm_hw_rule_add(runtime,0,SNDRV_PCM_HW_PARAM_CHANNELS, 2039 snd_pcm_hw_rule_add(runtime,0,SNDRV_PCM_HW_PARAM_CHANNELS,
2040 snd_hw_rule_format, 0, SNDRV_PCM_HW_PARAM_FORMAT, 2040 snd_hw_rule_format, NULL, SNDRV_PCM_HW_PARAM_FORMAT,
2041 -1); 2041 -1);
2042 snd_pcm_hw_rule_add(runtime,0,SNDRV_PCM_HW_PARAM_FORMAT, 2042 snd_pcm_hw_rule_add(runtime,0,SNDRV_PCM_HW_PARAM_FORMAT,
2043 snd_hw_rule_channels, 0, 2043 snd_hw_rule_channels, NULL,
2044 SNDRV_PCM_HW_PARAM_CHANNELS, 2044 SNDRV_PCM_HW_PARAM_CHANNELS,
2045 -1); 2045 -1);
2046 2046