Joe Perches
9011a67b2f
infiniband: use pci_zalloc_consistent
...
Remove the now unnecessary memset too.
Signed-off-by: Joe Perches <joe@perches.com >
Cc: Tom Tucker <tom@opengridcomputing.com >
Acked-by: Steve Wise <swise@opengridcomputing.com >
Cc: Roland Dreier <roland@kernel.org >
Cc: Sean Hefty <sean.hefty@intel.com >
Cc: Hal Rosenstock <hal.rosenstock@gmail.com >
Cc: Faisal Latif <faisal.latif@intel.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:28 -07:00
Joe Perches
7e835084fe
crypto: use pci_zalloc_consistent
...
Remove the now unnecessary memset too.
Signed-off-by: Joe Perches <joe@perches.com >
Herbert Xu <herbert@gondor.apana.org.au >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:28 -07:00
Joe Perches
a5bbf6160c
block: use pci_zalloc_consistent
...
Remove the now unnecessary memset too.
Signed-off-by: Joe Perches <joe@perches.com >
Mike Miller <mike.miller@hp.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:28 -07:00
Joe Perches
6f2a011afc
atm: use pci_zalloc_consistent
...
Remove the now unnecessary memset too.
Signed-off-by: Joe Perches <joe@perches.com >
Cc: Chas Williams <chas@cmf.nrl.navy.mil >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:28 -07:00
Joe Perches
82bf0baad9
pci-dma-compat: add pci_zalloc_consistent helper
...
Add this helper for consistency with pci_zalloc_coherent
and the ability to remove unnecessary memset(,0,) uses.
Signed-off-by: Joe Perches <joe@perches.com >
Cc: Arnd Bergmann <arnd@arndb.de >
Cc: "James E.J. Bottomley" <JBottomley@parallels.com >
Cc: "John W. Linville" <linville@tuxdriver.com >
Cc: "Stephen M. Cameron" <scameron@beardog.cce.hp.com >
Cc: Adam Radford <linuxraid@lsi.com >
Cc: Chaoming Li <chaoming_li@realsil.com.cn >
Cc: Chas Williams <chas@cmf.nrl.navy.mil >
Cc: Christian Benvenuti <benve@cisco.com >
Cc: Christopher Harrer <charrer@alacritech.com >
Cc: Dario Ballabio <ballabio_dario@emc.com >
Cc: David Airlie <airlied@linux.ie >
Cc: Don Fry <pcnet32@frontier.com >
Cc: Faisal Latif <faisal.latif@intel.com >
Cc: Forest Bond <forest@alittletooquiet.net >
Cc: Govindarajulu Varadarajan <_govind@gmx.com >
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Cc: Hal Rosenstock <hal.rosenstock@gmail.com >
Cc: Hans Verkuil <hverkuil@xs4all.nl >
Cc: Jayamohan Kallickal <jayamohan.kallickal@emulex.com >
Cc: Jiri Slaby <jslaby@suse.cz >
Cc: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com >
Cc: Larry Finger <Larry.Finger@lwfinger.net >
Cc: Lennert Buytenhek <buytenh@wantstofly.org >
Cc: Lior Dotan <liodot@gmail.com >
Cc: Manish Chopra <manish.chopra@qlogic.com >
Cc: Manohar Vanga <manohar.vanga@gmail.com >
Cc: Martyn Welch <martyn.welch@ge.com >
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com >
Cc: Michael Neuffer <mike@i-Connect.Net >
Cc: Mirko Lindner <mlindner@marvell.com >
Cc: Neel Patel <neepatel@cisco.com >
Cc: Neela Syam Kolli <megaraidlinux@lsi.com >
Cc: Rajesh Borundia <rajesh.borundia@qlogic.com >
Cc: Roland Dreier <roland@kernel.org >
Cc: Ron Mercer <ron.mercer@qlogic.com >
Cc: Samuel Ortiz <samuel@sortiz.org >
Cc: Sean Hefty <sean.hefty@intel.com >
Cc: Shahed Shaikh <shahed.shaikh@qlogic.com >
Cc: Sony Chacko <sony.chacko@qlogic.com >
Cc: Stanislav Yakovlev <stas.yakovlev@gmail.com >
Cc: Stephen Hemminger <stephen@networkplumber.org >
Cc: Steve Wise <swise@opengridcomputing.com >
Cc: Sujith Sankar <ssujith@cisco.com >
Cc: Tom Tucker <tom@opengridcomputing.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:28 -07:00
Daniel Walter
f7c65af513
drivers/scsi: replace strict_strto calls
...
Replace obsolete strict_strto with more appropriate kstrto calls
Signed-off-by: Daniel Walter <dwalter@google.com >
Cc: "James E.J. Bottomley" <JBottomley@parallels.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:28 -07:00
Daniel Walter
164109e3cd
arch/x86: replace strict_strto calls
...
Replace obsolete strict_strto calls with appropriate kstrto calls
Signed-off-by: Daniel Walter <dwalter@google.com >
Acked-by: Borislav Petkov <bp@suse.de >
Cc: Ingo Molnar <mingo@elte.hu >
Cc: "H. Peter Anvin" <hpa@zytor.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:28 -07:00
Daniel Walter
1618bd53e6
arch/powerpc: replace obsolete strict_strto* calls
...
Replace strict_strto calls with more appropriate kstrto calls
Signed-off-by: Daniel Walter <dwalter@google.com >
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:28 -07:00
Daniel Walter
37028623d7
arch/arm/mach-w90x900/cpu.c: replace obsolete strict_strto
...
Replace obsolete strict_strto with kstrto calls
Signed-off-by: Daniel Walter <dwalter@google.com >
Cc: Wan ZongShun <mcuos.com@gmail.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:28 -07:00
Daniel Walter
5c2432cbe8
arch/arm/mach-s3c24xx/mach-jive.c: replace strict_strto* with kstrto*
...
Replace obsolete strict_strto call with kstrto
Signed-off-by: Daniel Walter <dwalter@google.com >
Cc: Ben Dooks <ben-linux@fluff.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:28 -07:00
Daniel Walter
4fce45b44b
arch/arm/mach-pxa: replace strict_strto call with kstrto
...
Replace obsolete call to strict_strto with kstrto
Signed-off-by: Daniel Walter <dwalter@google.com >
Cc: Eric Miao <eric.y.miao@gmail.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:27 -07:00
Daniel Walter
056610ac14
arch/arm/mach-omap2: replace strict_strto* with kstrto*
...
Replace obsolete strict_strto call with kstrto calls.
Simplify copy_from_user/strict_strto by using kstrto_from_user
Signed-off-by: Daniel Walter <dwalter@google.com >
Cc: Tony Lindgren <tony@atomide.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:27 -07:00
Michael Opdenacker
f9213e78c4
MAINTAINERS: update IBM ServeRAID RAID info
...
- Invalid maintainer e-mail address:
Mail server reply:
Recipient address rejected: User unknown in virtual alias table
- Remove no longer working webpage URL
- Remove obsolete "Person" field
- Move status to "Orphan"
- Add Dave Jeffery and Jack Hammer to the CREDITS file
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com >
Reviewed-by: Jean Delvare <jdelvare@suse.de >
Cc: David Jeffery <dhjeffery@gmail.com >
Cc: James Bottomley <James.Bottomley@HansenPartnership.com >
Cc: Paul Bolle <pebolle@tiscali.nl >
Reviewed-by: Jingoo Han <jg1.han@samsung.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:27 -07:00
Joe Perches
d347087b6e
MAINTAINERS: remove two ancient EATA sections
...
These haven't had a single ack by the listed maintainer in all git history
and the email addresses don't work.
An EATA entry for Michael Neuffer is already in CREDITS.
Signed-off-by: Joe Perches <joe@perches.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:27 -07:00
Richard Weinberger
e846ee5f01
update Roland McGrath's mail
...
roland@redhat.com bounces, change it to roland@hack.frob.com .
Signed-off-by: Richard Weinberger <richard@nod.at >
Acked-by: Roland McGrath <roland@hack.frob.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:27 -07:00
Fabian Frederick
dd4d9fecbe
init/main.c: code clean-up
...
Fixing some checkpatch warnings(remove global initialization, move
__initdata, coalesce formats ...)
Signed-off-by: Fabian Frederick <fabf@skynet.be >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:27 -07:00
Ionut Alexa
934fc295b3
kernel/acct.c: fix coding style warnings and errors
...
Signed-off-by: Ionut Alexa <ionut.m.alexa@gmail.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:27 -07:00
Andy Lutomirski
a6c19dfe39
arm64,ia64,ppc,s390,sh,tile,um,x86,mm: remove default gate area
...
The core mm code will provide a default gate area based on
FIXADDR_USER_START and FIXADDR_USER_END if
!defined(__HAVE_ARCH_GATE_AREA) && defined(AT_SYSINFO_EHDR).
This default is only useful for ia64. arm64, ppc, s390, sh, tile, 64-bit
UML, and x86_32 have their own code just to disable it. arm, 32-bit UML,
and x86_64 have gate areas, but they have their own implementations.
This gets rid of the default and moves the code into ia64.
This should save some code on architectures without a gate area: it's now
possible to inline the gate_area functions in the default case.
Signed-off-by: Andy Lutomirski <luto@amacapital.net >
Acked-by: Nathan Lynch <nathan_lynch@mentor.com >
Acked-by: H. Peter Anvin <hpa@linux.intel.com >
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org > [in principle]
Acked-by: Richard Weinberger <richard@nod.at > [for um]
Acked-by: Will Deacon <will.deacon@arm.com > [for arm64]
Cc: Catalin Marinas <catalin.marinas@arm.com >
Cc: Will Deacon <will.deacon@arm.com >
Cc: Tony Luck <tony.luck@intel.com >
Cc: Fenghua Yu <fenghua.yu@intel.com >
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org >
Cc: Paul Mackerras <paulus@samba.org >
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com >
Cc: Heiko Carstens <heiko.carstens@de.ibm.com >
Cc: Chris Metcalf <cmetcalf@tilera.com >
Cc: Jeff Dike <jdike@addtoit.com >
Cc: Richard Weinberger <richard@nod.at >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Ingo Molnar <mingo@redhat.com >
Cc: "H. Peter Anvin" <hpa@zytor.com >
Cc: Nathan Lynch <Nathan_Lynch@mentor.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:27 -07:00
Fabian Frederick
e0d9bf4cc0
fs/dlm/debug_fs.c: remove unnecessary null test before debugfs_remove
...
This fixes checkpatch warning:
WARNING: debugfs_remove(NULL) is safe this check is probably not required
Signed-off-by: Fabian Frederick <fabf@skynet.be >
Cc: Christine Caulfield <ccaulfie@redhat.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:27 -07:00
Konstantin Khlebnikov
fda9f9903b
scripts/checkstack.pl: automatically handle 32-bit and 64-bit mode for ARCH=x86
...
This patch adds support for ARCH=x86 into checkstack.
Commit ffee0de411 ("x86: Default to ARCH=x86 to avoid overriding
CONFIG_64BIT") had merged ARCH=i386 and ARCH=x86_64 into one ARCH=x86.
checkstack.pl searches patterns of machine instructions which are
usually used for allocating stack frames. checkstalk.pl needs either
i386 or x86_64, x86 isn't enough:
$ make checkstack
objdump -d vmlinux $(find . -name '*.ko') | \
perl linux/scripts/checkstack.pl x86
wrong or unknown architecture "x86"
Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com >
Cc: David Woodhouse <dwmw2@infradead.org >
Cc: "H. Peter Anvin" <hpa@zytor.com >
Cc: Richard Weinberger <richard@nod.at >
Cc: Geert Uytterhoeven <geert@linux-m68k.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:27 -07:00
Catalin Marinas
c965526a82
scripts/tags.sh: include compat_sys_* symbols in the generated tags
...
Since the kernel now has a COMPAT_SYSCALL infrastructure via commit
4683661388 ("COMPAT_SYSCALL_DEFINE: infrastructure"), add the
corresponding regex for generating compat_sys_* symbols in the tags
files (similar to sys_*).
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com >
Cc: Alexander Viro <viro@zeniv.linux.org.uk >
Cc: Michal Marek <mmarek@suse.cz >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:27 -07:00
Fabian Frederick
45715f33d4
scripts/coccinelle/free/ifnullfree.cocci: add copyright information
...
All coccinelle scripts have a copyright in the header.
Signed-off-by: Fabian Frederick <fabf@skynet.be >
Suggested-by: Julia Lawall <Julia.Lawall@lip6.fr >
Acked-by: Julia Lawall <Julia.Lawall@lip6.fr >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:27 -07:00
Fabian Frederick
791dfeb495
scripts/coccinelle/free: add NULL test before freeing functions
...
Warns or generates patch for NULL check before the following functions:
kfree
usb_free_urb
debugfs_remove
debugfs_remove_recursive
Signed-off-by: Fabian Frederick <fabf@skynet.be >
Acked-by: Julia Lawall <Julia.Lawall@lip6.fr >
Cc: Gilles Muller <Gilles.Muller@lip6.fr >
Cc: Joe Perches <joe@perches.com >
Cc: Markus Elfring <elfring@users.sourceforge.net >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:26 -07:00
Laura Abbott
56106da793
lib/scatterlist: clean up useless architecture versions of scatterlist.h
...
There's no need to have an architecture version of scatterlist.h if the
only thing the file does is include asm-generic/scatterlist.h. Switch to
the asm-generic versions directly.
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com >
Acked-by: David Howells <dhowells@redhat.com >
Signed-off-by: Laura Abbott <lauraa@codeaurora.org >
Cc: Lennox Wu <lennox.wu@gmail.com >
Cc: Chen Liqin <liqin.linux@gmail.com >,
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com >
Cc: Michal Simek <monstr@monstr.eu >
Cc: Hirokazu Takata <takata@linux-m32r.org >
Cc: Mikael Starvik <starvik@axis.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org >
Cc: Heiko Carstens <heiko.carstens@de.ibm.com >
Cc: Russell King <linux@arm.linux.org.uk >
Cc: Tony Luck <tony.luck@intel.com >
Cc: Fenghua Yu <fenghua.yu@intel.com >
Cc: Paul Mackerras <paulus@samba.org >
Cc: Ingo Molnar <mingo@redhat.com >
Cc: "H. Peter Anvin" <hpa@zytor.com >
Cc: "James E.J. Bottomley" <JBottomley@parallels.com >
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2014-08-08 15:57:26 -07:00
Laura Abbott
308c09f17d
lib/scatterlist: make ARCH_HAS_SG_CHAIN an actual Kconfig
...
Rather than have architectures #define ARCH_HAS_SG_CHAIN in an
architecture specific scatterlist.h, make it a proper Kconfig option and
use that instead. At same time, remove the header files are are now
mostly useless and just include asm-generic/scatterlist.h.
[sfr@canb.auug.org.au: powerpc files now need asm/dma.h]
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de> [x86]
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> [powerpc]
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-08-08 15:57:26 -07:00