Trivial patchset to use standard unsigned long in drivers/
instead of long unsigned int
I'm just sending the summary; if you think it's worth being applied,
I'll send this patchset and smaller ones for other trees.
Regards,
Fabian
Fabian Frederick (13):
qla4xxx: replace long
label 'out' is unused since commit 374f8fdea4aa
("scsi: Fix error handling in SCSI_IOCTL_SEND_COMMAND")
Signed-off-by: Fabian Frederick
---
block/scsi_ioctl.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c
index cc7927a..d1ae46
> On 23 October 2014 at 18:29 Marcel Holtmann wrote:
>
>
> Hi Fabian,
>
> > use cpr for hci_cp_read_clock_offset instead of cp
> > (already defined above).
> >
> > Signed-off-by: Fabian Frederick
> > ---
> > net/bluetooth/hci_conn.c | 6 +++-
directly call scsi_cmd_ioctl() with (void __user *)arg instead
of uarg redeclaration.
Signed-off-by: Fabian Frederick
---
block/bsg.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/block/bsg.c b/block/bsg.c
index 276e869..c2f90bd 100644
--- a/block/bsg.c
+++ b/block
&state->parts[p].info is directly passed to
add_partition(). local info is initialized but unused.
Signed-off-by: Fabian Frederick
---
block/partition-generic.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/block/partition-generic.c b/block/partition-generic.c
index 0d9e5f9..
use cpr for hci_cp_read_clock_offset instead of cp
(already defined above).
Signed-off-by: Fabian Frederick
---
net/bluetooth/hci_conn.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c
index b9517bd..6151e09 100644
p is initialized but unused.
Signed-off-by: Fabian Frederick
---
net/9p/trans_fd.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c
index 80d08f6..c73b894 100644
--- a/net/9p/trans_fd.c
+++ b/net/9p/trans_fd.c
@@ -1013,7 +1013,6 @@ p9_fd_create(struct
osdmap_epoch is redundant with reassert_epoch and unused.
Signed-off-by: Fabian Frederick
---
net/ceph/osd_client.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c
index f3fc54e..432bd75 100644
--- a/net/ceph/osd_client.c
+++ b/net/ceph
Signed-off-by: Fabian Frederick
---
net/llc/llc_if.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/llc/llc_if.c b/net/llc/llc_if.c
index 25c31c0..6daf391 100644
--- a/net/llc/llc_if.c
+++ b/net/llc/llc_if.c
@@ -15,7 +15,7 @@
#include
#include
#include
-#include
See Documentation/CodingStyle Chapter 6
Signed-off-by: Fabian Frederick
---
net/lapb/lapb_iface.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/net/lapb/lapb_iface.c b/net/lapb/lapb_iface.c
index 3cdaa04..fc60d9d 100644
--- a/net/lapb/lapb_iface.c
+++ b
> On 21 October 2014 at 21:06 Johannes Berg wrote:
>
>
> On Tue, 2014-10-21 at 18:20 +0200, Fabian Frederick wrote:
> > Fix checkpatch warnings:
> >
> > WARNING: debugfs_remove(NULL) is safe this check is probably not
> >required
>
> I'll ap
This function is not used since commit 64c3131161c1
("ceph_sync_direct_write: stop poking into iov_iter guts")
Signed-off-by: Fabian Frederick
---
include/linux/ceph/libceph.h | 3 ---
net/ceph/pagevec.c | 35 ---
2 files changed, 38 deletion
Based on ext2_direct_IO
Cc: Al Viro
Cc: Andrew Morton
Signed-off-by: Fabian Frederick
---
fs/affs/file.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/fs/affs/file.c b/fs/affs/file.c
index 8e51085..05005bd 100644
--- a/fs/affs/file.c
+++ b/fs/affs/file.c
@@ -12,6
Fix checkpatch warnings:
WARNING: debugfs_remove(NULL) is safe this check is probably not required
Signed-off-by: Fabian Frederick
---
net/mac80211/debugfs_key.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/net/mac80211/debugfs_key.c b/net/mac80211
Commit-ID: 03452d27c6cd9cebb59a6bb0fb6bd8557916c263
Gitweb: http://git.kernel.org/tip/03452d27c6cd9cebb59a6bb0fb6bd8557916c263
Author: Fabian Frederick
AuthorDate: Fri, 17 Oct 2014 22:01:59 +0200
Committer: H. Peter Anvin
CommitDate: Fri, 17 Oct 2014 13:40:55 -0700
x86, msr: Use seek
Commit-ID: 951a18c6fee5d2f6f5d7b5118776bf787bf9c351
Gitweb: http://git.kernel.org/tip/951a18c6fee5d2f6f5d7b5118776bf787bf9c351
Author: Fabian Frederick
AuthorDate: Fri, 17 Oct 2014 22:01:50 +0200
Committer: H. Peter Anvin
CommitDate: Fri, 17 Oct 2014 13:40:54 -0700
x86, msr: Convert
Commit-ID: cba0fdbcff8b54c206c8e18898a55456959ed51a
Gitweb: http://git.kernel.org/tip/cba0fdbcff8b54c206c8e18898a55456959ed51a
Author: Fabian Frederick
AuthorDate: Fri, 17 Oct 2014 22:01:38 +0200
Committer: H. Peter Anvin
CommitDate: Fri, 17 Oct 2014 13:40:53 -0700
x86, msr: Use
Commit-ID: 76ef0db72f8b74bb92e24775d9d7f5ab26352bec
Gitweb: http://git.kernel.org/tip/76ef0db72f8b74bb92e24775d9d7f5ab26352bec
Author: Fabian Frederick
AuthorDate: Fri, 17 Oct 2014 22:01:05 +0200
Committer: H. Peter Anvin
CommitDate: Fri, 17 Oct 2014 13:40:52 -0700
x86/simplefb: Use
Commit-ID: e8d95ce9705c6683f57dc146b8c726c4d2242a52
Gitweb: http://git.kernel.org/tip/e8d95ce9705c6683f57dc146b8c726c4d2242a52
Author: Fabian Frederick
AuthorDate: Fri, 17 Oct 2014 22:00:53 +0200
Committer: H. Peter Anvin
CommitDate: Fri, 17 Oct 2014 13:40:52 -0700
x86/sysfb: Use
Commit-ID: cbda45a2d4798912637b5b792c1c7a97c8d8b080
Gitweb: http://git.kernel.org/tip/cbda45a2d4798912637b5b792c1c7a97c8d8b080
Author: Fabian Frederick
AuthorDate: Fri, 17 Oct 2014 22:01:17 +0200
Committer: H. Peter Anvin
CommitDate: Fri, 17 Oct 2014 13:40:51 -0700
x86, cpuid: Use
Replace 0/1 by SEEK_SET/SEEK_CUR.
Signed-off-by: Fabian Frederick
---
arch/x86/kernel/msr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c
index 1c66cd0..1ed1190 100644
--- a/arch/x86/kernel/msr.c
+++ b/arch/x86/kernel/msr.c
Also define pr_fmt.
Signed-off-by: Fabian Frederick
---
arch/x86/kernel/msr.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c
index 5b14dac..1c66cd0 100644
--- a/arch/x86/kernel/msr.c
+++ b/arch/x86/kernel/msr.c
@@ -22,6
replace IS_ERR/PTR_ERR
Signed-off-by: Fabian Frederick
---
arch/x86/kernel/cpuid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpuid.c b/arch/x86/kernel/cpuid.c
index 3225ae6c..83741a7 100644
--- a/arch/x86/kernel/cpuid.c
+++ b/arch/x86/kernel/cpuid.c
define MSR_CHUNK_SIZE instead of hard-coded value (8).
Signed-off-by: Fabian Frederick
---
arch/x86/include/asm/msr.h | 2 ++
arch/x86/kernel/msr.c | 18 +-
2 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/arch/x86/include/asm/msr.h b/arch/x86/include/asm
replace IS_ERR/PTR_ERR
Signed-off-by: Fabian Frederick
---
arch/x86/kernel/msr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c
index f1f3ed0..5b14dac 100644
--- a/arch/x86/kernel/msr.c
+++ b/arch/x86/kernel/msr.c
@@ -206,7
replace IS_ERR/PTR_ERR
Signed-off-by: Fabian Frederick
---
arch/x86/kernel/sysfb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/sysfb.c b/arch/x86/kernel/sysfb.c
index 193ec2c..160386e 100644
--- a/arch/x86/kernel/sysfb.c
+++ b/arch/x86/kernel/sysfb.c
replace IS_ERR/PTR_ERR
Signed-off-by: Fabian Frederick
---
arch/x86/kernel/sysfb_simplefb.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/x86/kernel/sysfb_simplefb.c b/arch/x86/kernel/sysfb_simplefb.c
index 86179d4..764a29f 100644
--- a/arch/x86/kernel
replace asm/uaccess.h by linux/uaccess.h
Signed-off-by: Fabian Frederick
---
net/netrom/af_netrom.c | 2 +-
net/netrom/nr_dev.c| 2 +-
net/netrom/nr_in.c | 2 +-
net/netrom/nr_out.c| 2 +-
net/netrom/nr_route.c | 2 +-
net/netrom/nr_subr.c | 2 +-
net/netrom/nr_timer.c | 2 +-
7
> On 14 October 2014 at 20:08 Bjørn Mork wrote:
>
>
> Joe Perches writes:
>
> > And does this really need to be alloc'd?
>
> Yes, it does. It is used as a transfer_buffer in usb_fill_bulk_urb() and
> must be "suitable for DMA". From include/linux/usb.h:
>
> /**
> * struct urb - USB Request Bl
> On 14 October 2014 at 18:52 Joe Perches wrote:
>
>
> On Tue, 2014-10-14 at 18:44 +0200, Fabian Frederick wrote:
> > See commit fbdb8138cf0c
> > ("checkpatch: warn on uses of __constant_ functions")
>
> Perhaps it'd be better to use the same
> __
s/sock/gs
Signed-off-by: Fabian Frederick
---
net/openvswitch/vport-geneve.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/openvswitch/vport-geneve.c b/net/openvswitch/vport-geneve.c
index 910b3ef..106a9d8 100644
--- a/net/openvswitch/vport-geneve.c
+++ b/net
Also fixes kzalloc on struct se_io_ctx
See Documentation/CodingStyle Chapter 14
Signed-off-by: Fabian Frederick
---
net/nfc/netlink.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/nfc/netlink.c b/net/nfc/netlink.c
index 43cb1c1..b4ba68e 100644
--- a/net/nfc
See Documentation/CodingStyle Chapter 14
Signed-off-by: Fabian Frederick
---
net/nfc/llcp_commands.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/nfc/llcp_commands.c b/net/nfc/llcp_commands.c
index a3ad69a..a450075 100644
--- a/net/nfc/llcp_commands.c
+++ b/net
All functions used struct vport *vport except
ovs_vport_find_upcall_portid.
This fixes 1 kerneldoc warning
Signed-off-by: Fabian Frederick
---
net/openvswitch/vport.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c
index
See Documentation/CodingStyle Chapter 14
Signed-off-by: Fabian Frederick
---
net/nfc/digital_technology.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/nfc/digital_technology.c b/net/nfc/digital_technology.c
index fb58ed2d..5e94b6f 100644
--- a/net/nfc
Fixes coccinelle warning:
net/nfc/llcp_core.c:132:5-11: WARNING: Comparison to bool
Signed-off-by: Fabian Frederick
---
net/nfc/llcp_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/nfc/llcp_core.c b/net/nfc/llcp_core.c
index 51e7887..978399d 100644
--- a/net/nfc
Let MM subsystem display out of memory messages.
Signed-off-by: Fabian Frederick
---
net/nfc/digital_core.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/net/nfc/digital_core.c b/net/nfc/digital_core.c
index 009bcf3..41ba70c 100644
--- a/net/nfc/digital_core.c
+++ b/net
/llc_shdlc.c:333:6-16: WARNING: Comparison to bool
net/nfc/hci/llc_shdlc.c:431:31-43: WARNING: Comparison to bool
Signed-off-by: Fabian Frederick
---
net/nfc/hci/llc_shdlc.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/net/nfc/hci/llc_shdlc.c b/net/nfc/hci/llc_shdlc.c
> On 14 October 2014 at 21:15 Zach Brown wrote:
>
>
> On Tue, Oct 14, 2014 at 07:46:14PM +0200, Fabian Frederick wrote:
> > use function defined in include/linux/highmem.h
> > Note that this reverts 2 last function call order
>
> And adds a BUG_ON(PAGE_CACHE_SIZE &
use function defined in include/linux/highmem.h
Note that this reverts 2 last function call order
Signed-off-by: Fabian Frederick
---
fs/btrfs/scrub.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c
index efa0831..fa063cd 100644
parent cfusbl was used instead of first structure member 'layer'
Suggested-by: Joe Perches
Signed-off-by: Fabian Frederick
---
net/caif/caif_usb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/caif/caif_usb.c b/net/caif/caif_usb.c
index 0e487b0..5cd44f0 10
Let MM subsystem display out of memory messages.
Signed-off-by: Fabian Frederick
---
V2: add second patch with memset fix
net/caif/caif_usb.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/net/caif/caif_usb.c b/net/caif/caif_usb.c
index ba02db0..0e487b0 100644
--- a
See commit fbdb8138cf0c
("checkpatch: warn on uses of __constant_ functions")
Cc: Joe Perches
Cc: Andrew Morton
Cc: David Woodhouse
Cc: linux-...@lists.infradead.org
Signed-off-by: Fabian Frederick
---
fs/jffs2/nodelist.h | 8
1 file changed, 4 insertions(+), 4 deletion
Signed-off-by: Fabian Frederick
---
drivers/net/wireless/zd1201.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/wireless/zd1201.c b/drivers/net/wireless/zd1201.c
index 6f5c793..4630b26 100644
--- a/drivers/net/wireless/zd1201.c
+++ b/drivers/net/wireless
-Remove ErrorBuffer and use %pV
-Add __printf to enable argument mistmatch warnings
Original-patch-by: Joe Perches
Cc: Joe Perches
Cc: Andrew Morton
Signed-off-by: Fabian Frederick
---
V2: add __printf (suggested by Joe Perches)
fs/affs/affs.h | 2 ++
fs/affs/amigaffs.c | 28
-Move file_operations to avoid forward declarations.
-Remove unused declarations.
Cc: Andrew Morton
Signed-off-by: Fabian Frederick
---
fs/affs/file.c | 38 --
1 file changed, 16 insertions(+), 22 deletions(-)
diff --git a/fs/affs/file.c b/fs/affs/file.c
Remove ErrorBuffer and use %pV
Cc: Joe Perches
Cc: Andrew Morton
Signed-off-by: Fabian Frederick
---
fs/affs/amigaffs.c | 28 +---
1 file changed, 13 insertions(+), 15 deletions(-)
diff --git a/fs/affs/amigaffs.c b/fs/affs/amigaffs.c
index abc8539..9643bdd 100644
Let MM subsystem display out of memory messages.
Signed-off-by: Fabian Frederick
---
net/caif/caif_usb.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/net/caif/caif_usb.c b/net/caif/caif_usb.c
index ba02db0..0e487b0 100644
--- a/net/caif/caif_usb.c
+++ b/net/caif
Also add blank line after declaration
Signed-off-by: Fabian Frederick
---
net/caif/cfmuxl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/caif/cfmuxl.c b/net/caif/cfmuxl.c
index 8c5d638..510aa5a 100644
--- a/net/caif/cfmuxl.c
+++ b/net/caif/cfmuxl.c
@@ -47,10
checkpatch doesn't seem to detect any case since
Commit e367455a9f25
("checkpatch: emit fewer kmalloc_array/kcalloc conversion warnings")
Cc: Joe Perches
Cc: Andrew Morton
Signed-off-by: Fabian Frederick
---
scripts/checkpatch.pl | 4 ++--
1 file changed, 2 insertions(
> On 10 October 2014 at 10:24 Ilya Dryomov wrote:
>
>
> On Fri, Oct 10, 2014 at 4:41 AM, Dan Mick wrote:
> >
> >
> > On 10/09/2014 02:16 PM, Fabian Frederick wrote:
> >> Fix some coccinelle warnings:
> >> fs/ceph/caps.c:2400:6-10: WARNING: Assign
Replace "Assignment of bool to 0/1" by "Assignment of 0/1 to bool"
Suggested-by: Dan Mick
Signed-off-by: Fabian Frederick
---
scripts/coccinelle/misc/boolinit.cocci | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/scripts/coccinelle/misc/booli
:3-7: WARNING: Assignment of bool to 0/1
fs/ceph/caps.c:2549:3-12: WARNING: Assignment of bool to 0/1
fs/ceph/caps.c:2575:2-6: WARNING: Assignment of bool to 0/1
fs/ceph/caps.c:2589:3-7: WARNING: Assignment of bool to 0/1
Signed-off-by: Fabian Frederick
---
fs/ceph/caps.c | 26
No need to store gfs2_dir_check result and test it before returning.
Signed-off-by: Fabian Frederick
---
fs/gfs2/inode.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index c4ed823..b41b5c7 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2
No need to store ieee80211_vif_use_reserved_context result and test it before
returning.
Signed-off-by: Fabian Frederick
---
net/mac80211/cfg.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index fb6a150..c76b457 100644
--- a
Testing err before returning value is not needed.
Signed-off-by: Fabian Frederick
---
fs/ceph/ioctl.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/fs/ceph/ioctl.c b/fs/ceph/ioctl.c
index a822a6e..b2d777a 100644
--- a/fs/ceph/ioctl.c
+++ b/fs/ceph/ioctl.c
@@ -54,10
Signed-off-by: Fabian Frederick
---
fs/affs/affs.h | 1 +
fs/affs/amigaffs.c | 18 +-
fs/affs/namei.c| 11 +--
3 files changed, 11 insertions(+), 19 deletions(-)
diff --git a/fs/affs/affs.h b/fs/affs/affs.h
index 9bca881..3a7f287 100644
--- a/fs/affs/affs.h
+++ b
No need to store netlbl_unlabel_genl_init result and test it before returning.
Signed-off-by: Fabian Frederick
---
net/netlabel/netlabel_user.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/net/netlabel/netlabel_user.c b/net/netlabel/netlabel_user.c
index 1e779bb
> On 07 October 2014 at 22:54 Hannes Frederic Sowa
> wrote:
>
>
> On Di, 2014-10-07 at 22:49 +0200, Fabian Frederick wrote:
> >
> > > On 07 October 2014 at 22:33 Guenter Roeck wrote:
> > >
> > >
> > > On Tue, Oct 07, 2014 at 04:18:32PM
static values are automatically initialized to 0
Signed-off-by: Fabian Frederick
---
V2: replace NULL by 0 in description
net/unix/garbage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/unix/garbage.c b/net/unix/garbage.c
index 9bc73f8..99f7012 100644
--- a/net/unix
> On 07 October 2014 at 22:33 Guenter Roeck wrote:
>
>
> On Tue, Oct 07, 2014 at 04:18:32PM -0400, David Miller wrote:
> > From: Fabian Frederick
> > Date: Tue, 7 Oct 2014 22:16:36 +0200
> >
> > > static values are automatically initialized to NULL
>
no secid argument in netlbl_cfg_unlbl_static_del
Signed-off-by: Fabian Frederick
---
net/netlabel/netlabel_kapi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/netlabel/netlabel_kapi.c b/net/netlabel/netlabel_kapi.c
index 0b4692d..a845cd4 100644
--- a/net/netlabel/netlabel_kapi.c
+++ b
s/state/blocked
Signed-off-by: Fabian Frederick
---
net/rfkill/core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/rfkill/core.c b/net/rfkill/core.c
index b3b16c0..fa7cd79 100644
--- a/net/rfkill/core.c
+++ b/net/rfkill/core.c
@@ -329,7 +329,7 @@ static atomic_t
static values are automatically initialized to NULL
Signed-off-by: Fabian Frederick
---
net/unix/garbage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/unix/garbage.c b/net/unix/garbage.c
index 9bc73f8..99f7012 100644
--- a/net/unix/garbage.c
+++ b/net/unix/garbage.c
Use current logging functions and add module name prefix.
Signed-off-by: Fabian Frederick
---
Compiled but untested.
net/wimax/id-table.c | 2 +-
net/wimax/op-msg.c | 9 -
net/wimax/op-reset.c | 3 +--
net/wimax/op-rfkill.c | 3 +--
net/wimax/op-state-get.c
> On 06 October 2014 at 20:46 Borislav Petkov wrote:
>
>
> On Mon, Oct 06, 2014 at 08:33:00PM +0200, Fabian Frederick wrote:
> > You're right, I guess we can forget this patchset.
> > I didn't see it was already done. (nothing in linux-next yet).
>
>
> On 06 October 2014 at 19:40 Borislav Petkov wrote:
>
>
> On Mon, Oct 06, 2014 at 05:35:47PM +0200, Fabian Frederick wrote:
> > This small patchset removes IRQF_DISABLED from drivers branch.
> >
> > See include/linux/interrupt.h:
> > "This f
:391:17: error: incompatible types in comparison expression
(different address spaces)
Suggested-by: Eric Dumazet
Signed-off-by: Fabian Frederick
---
V2: use rcu_access_pointer instead of rcu_dereference out of rcu_read_lock
context
(suggested by Eric Dumazet).
net/phonet/pn_dev.c | 6
See include/linux/interrupt.h:
"This flag is a NOOP and scheduled to be removed"
Signed-off-by: Fabian Frederick
---
drivers/edac/ppc4xx_edac.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/edac/ppc4xx_edac.c b/drivers/edac/ppc4xx_edac.c
index 0f04d5
See include/linux/interrupt.h:
"This flag is a NOOP and scheduled to be removed"
Signed-off-by: Fabian Frederick
---
drivers/media/pci/tw68/tw68-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/pci/tw68/tw68-core.c
b/drivers/media/pci/tw68/t
See include/linux/interrupt.h:
"This flag is a NOOP and scheduled to be removed"
Signed-off-by: Fabian Frederick
---
drivers/block/cpqarray.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/block/cpqarray.c b/drivers/block/cpqarray.c
index 2b94403..3707
See include/linux/interrupt.h:
"This flag is a NOOP and scheduled to be removed"
Signed-off-by: Fabian Frederick
---
drivers/hsi/clients/nokia-modem.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/hsi/clients/nokia-modem.c
b/drivers/hsi/clients/nok
See include/linux/interrupt.h:
"This flag is a NOOP and scheduled to be removed"
Signed-off-by: Fabian Frederick
---
drivers/bus/omap_l3_smx.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/bus/omap_l3_smx.c b/drivers/bus/omap_l3_smx.c
ind
See include/linux/interrupt.h:
"This flag is a NOOP and scheduled to be removed"
Signed-off-by: Fabian Frederick
---
drivers/bus/omap_l3_noc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/bus/omap_l3_noc.c b/drivers/bus/omap_l3_noc.c
index 531ae5
See include/linux/interrupt.h:
Signed-off-by: Fabian Frederick
---
drivers/edac/mv64x60_edac.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/edac/mv64x60_edac.c b/drivers/edac/mv64x60_edac.c
index 542fad7..6366e88 100644
--- a/drivers/edac/mv64x60_edac.c
This small patchset removes IRQF_DISABLED from drivers branch.
See include/linux/interrupt.h:
"This flag is a NOOP and scheduled to be removed"
Note: (cross)compiled but untested.
Fabian Frederick (7):
mv64x60_edac: remove deprecated IRQF_DISABLED
ppc4xx_edac: remove
Use container_of instead of casting first structure member.
Signed-off-by: Fabian Frederick
---
drivers/tty/serial/ar933x_uart.c | 30 --
1 file changed, 20 insertions(+), 10 deletions(-)
diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial
Use container_of instead of casting first structure member.
Signed-off-by: Fabian Frederick
---
drivers/tty/serial/sunzilog.c | 24
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c
index 02df394
Use container_of instead of casting first structure member.
Signed-off-by: Fabian Frederick
---
drivers/tty/serial/pnx8xxx_uart.c | 48 ++-
1 file changed, 32 insertions(+), 16 deletions(-)
diff --git a/drivers/tty/serial/pnx8xxx_uart.c
b/drivers/tty/serial
Use container_of instead of casting first structure member.
Signed-off-by: Fabian Frederick
---
drivers/tty/serial/amba-pl010.c | 36
1 file changed, 24 insertions(+), 12 deletions(-)
diff --git a/drivers/tty/serial/amba-pl010.c b/drivers/tty/serial/amba
Use container_of instead of casting first structure member.
Signed-off-by: Fabian Frederick
---
drivers/tty/serial/sunsab.c | 36
1 file changed, 24 insertions(+), 12 deletions(-)
diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c
index
Use container_of instead of casting first structure member.
Signed-off-by: Fabian Frederick
---
drivers/tty/serial/sunsu.c | 39 ++-
1 file changed, 26 insertions(+), 13 deletions(-)
diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c
index
Use container_of instead of casting first structure member.
Signed-off-by: Fabian Frederick
---
drivers/tty/serial/pmac_zilog.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c
index abbfedb..4aca322
Use container_of instead of casting first structure member.
Signed-off-by: Fabian Frederick
---
drivers/tty/serial/jsm/jsm_tty.c | 30 --
1 file changed, 20 insertions(+), 10 deletions(-)
diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm
Use container_of instead of casting first structure member.
Signed-off-by: Fabian Frederick
---
drivers/tty/serial/cpm_uart/cpm_uart_core.c | 48 +++--
1 file changed, 32 insertions(+), 16 deletions(-)
diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c
b/drivers
Use container_of instead of casting first structure member.
Signed-off-by: Fabian Frederick
---
drivers/tty/serial/mpsc.c | 39 ++-
1 file changed, 26 insertions(+), 13 deletions(-)
diff --git a/drivers/tty/serial/mpsc.c b/drivers/tty/serial/mpsc.c
index
Use container_of instead of casting first structure member.
Signed-off-by: Fabian Frederick
---
drivers/tty/serial/ip22zilog.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/drivers/tty/serial/ip22zilog.c b/drivers/tty/serial/ip22zilog.c
index 99b7b86
Use container_of instead of casting first structure member.
Signed-off-by: Fabian Frederick
---
drivers/tty/serial/sa1100.c | 45 ++---
1 file changed, 30 insertions(+), 15 deletions(-)
diff --git a/drivers/tty/serial/sa1100.c b/drivers/tty/serial/sa1100
Use container_of instead of casting first structure member.
Signed-off-by: Fabian Frederick
---
drivers/tty/serial/m32r_sio.c | 42 --
1 file changed, 28 insertions(+), 14 deletions(-)
diff --git a/drivers/tty/serial/m32r_sio.c b/drivers/tty/serial
Small patchset using container_of instead of casting on first structure member
address.
All patches (cross)compiled but untested.
Fabian Frederick (13):
serial: use container_of to resolve uart_sio_port from uart_port
serial: sa1100: use container_of to resolve sa1100_port from uart_port
:17: error: incompatible types in comparison expression
(different address spaces)
Signed-off-by: Fabian Frederick
---
net/phonet/pn_dev.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/phonet/pn_dev.c b/net/phonet/pn_dev.c
index 56a6146..5c9c0b2f1 100644
--- a/net
use macro definition
Signed-off-by: Fabian Frederick
---
fs/gfs2/glock.c | 4 ++--
fs/gfs2/glops.c | 2 +-
fs/gfs2/trans.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 7f513b1..8f0c19d 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2
cipso_v4_cache_init is only called by __init cipso_v4_init
Signed-off-by: Fabian Frederick
---
net/ipv4/cipso_ipv4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c
index 05b708b..4715f25 100644
--- a/net/ipv4/cipso_ipv4.c
+++ b
ip4_frags_ctl_register is only called by __init ipfrag_init
Signed-off-by: Fabian Frederick
---
net/ipv4/ip_fragment.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/ipv4/ip_fragment.c b/net/ipv4/ip_fragment.c
index 15f0e2b..2811cc1 100644
--- a/net/ipv4
tcp_init_mem is only called by __init tcp_init.
Signed-off-by: Fabian Frederick
---
net/ipv4/tcp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index cf5e508..5c17034 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -3172,7 +3172,7
Commit 3243acd37fd9
("ieee802154: add __init to lowpan_frags_sysctl_register")
added __init to lowpan_frags_ns_sysctl_register instead of
lowpan_frags_sysctl_register
Suggested-by: Alexander Aring
Signed-off-by: Fabian Frederick
---
net/ieee802154/reassembly.c | 4 ++--
1 file
ccid_activate is only called by __init ccid_initialize_builtins in same module.
Signed-off-by: Fabian Frederick
---
net/dccp/ccid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/dccp/ccid.c b/net/dccp/ccid.c
index 5975572..8349897 100644
--- a/net/dccp/ccid.c
+++ b/net
dccp_mib_init is only called by __init dccp_init in same module.
Signed-off-by: Fabian Frederick
---
net/dccp/proto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/dccp/proto.c b/net/dccp/proto.c
index e421edd..6d090c4 100644
--- a/net/dccp/proto.c
+++ b/net/dccp
> On 01 October 2014 at 02:25 Alexander Aring wrote:
>
>
> Hi,
>
> On Tue, Sep 30, 2014 at 10:34:08PM +0200, Fabian Frederick wrote:
> > lowpan_frags_sysctl_register is only called by __init lowpan_net_frag_init
> > (part of the lowpan module).
> >
lowpan_frags_sysctl_register is only called by __init lowpan_net_frag_init
(part of the lowpan module).
Signed-off-by: Fabian Frederick
---
This is untested.
net/ieee802154/reassembly.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/ieee802154/reassembly.c b/net
701 - 800 of 1616 matches
Mail list logo