Re: [PATCH 3.19 3/3] x86, mpx: Change the MPX enable/disable API to arch_prctl

2015-01-01 Thread Dave Hansen
On 12/29/2014 04:52 PM, Andy Lutomirski wrote: > This has the benefit the it avoids cluttering prctl with more > arch-specific functionality. The down side is that arch_prctl will > need to be wired up as a 32-bit syscall to add 32-bit support for > MPX. There is existing userspace out there whic

Re: WARNING: at drivers/gpu/drm/i915/intel_display.c:11375 [i915] in 3.19-rc2

2015-01-01 Thread Jani Nikula
On Thu, 01 Jan 2015, Andrey Skvortsov wrote: > Hi, > > this warning does not exist in 3.19-rc1, but it happens every boot in > 3.19-rc2. If you need any other information or data, I would be glad > to help to debug it. Hmm, at a glance I can't find a commit that could be the culprit. Can you bise

Re: [tpmdd-devel] Question about duplicate definitions of transmit_cmd in tpm-sysfs.c and tmp-interface.c

2015-01-01 Thread Jason Gunthorpe
On Sat, Dec 27, 2014 at 01:34:51AM -0500, nick wrote: > After reading the code and trying various ways to merge these > functions into tpm.h. I am wondering if the merge is really a good > idea as it seems to break a lot of code that is very hard to trace > and redo correctly without a lot of work

Re: [PATCH] adjtimex: PPM scaling is by 2^-16

2015-01-01 Thread Richard Cochran
On Thu, Jan 01, 2015 at 08:41:20PM -0600, Jeff Epler wrote: > Like Laurent Georget, I found by reading ntpd source > the scale is 2^16 (i.e., 1 ~= 1.5e-5 ppm, 65536 = 1ppm) Yep, you wont find this documented in prose anywhere, not even at ntp.org. > -long freq;/* Frequency offset, as

Re: [PATCH 0/3] mm: cma: /proc/cmainfo

2015-01-01 Thread Pavel Machek
On Mon 2014-12-29 11:36:39, Minchan Kim wrote: > Hello, > > On Fri, Dec 26, 2014 at 05:39:01PM +0300, Stefan I. Strogin wrote: > > Hello all, > > > > Here is a patch set that adds /proc/cmainfo. > > > > When compiled with CONFIG_CMA_DEBUG /proc/cmainfo will contain information > > about about to

Re: [PATCH] [RFC] Deter exploit bruteforcing

2015-01-01 Thread Pavel Machek
On Tue 2014-12-30 10:40:15, Kees Cook wrote: > On Wed, Dec 24, 2014 at 1:39 PM, Richard Weinberger wrote: > > While exploring the offset2lib attack I remembered that > > grsecurity has an interesting feature to make such attacks > > much harder. Exploits can brute stack canaries often very easily

Re: [PATCH] Revert "cfg80211: make WEXT compatibility unselectable"

2015-01-01 Thread Pavel Machek
On Wed 2014-12-31 08:49:00, Peter Hurley wrote: > On 12/31/2014 08:26 AM, Grumbach, Emmanuel wrote: > >> > >> On Wed, 31 Dec 2014, Arend van Spriel wrote: > >> > >>> You mentioned in the discussion and I quote: "*If* wireless > >>> maintainers think otherwise, I'll send a revert request to Linus fo

[trivial PATCH] use capital BIOS in comment

2015-01-01 Thread Pavel Machek
Use capital BIOS in comment. Its cleaner, and allows diference between BIOS and BIOs. Signed-off-by: Pavel Machek diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c index 66dba36..452f904 100644 --- a/arch/x86/mm/init.c +++ b/arch/x86/mm/init.c @@ -582,7 +582,7 @@ void __init init_mem_mapping(

Re: [PATCH v7 2/4] fpga manager: add sysfs interface document

2015-01-01 Thread Pavel Machek
> +What:/sys/class/fpga_manager//firmware > +Date:October 2014 > +KernelVersion: 3.18 > +Contact: Alan Tull > +Description: Name of the FPGA image file to load using firmware class. This is wrong interface, right? The only use of this string is to pass i

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-01-01 Thread Pavel Machek
On Wed 2014-12-24 20:11:52, Walter Lozano wrote: > This patch adds the DTS bindings for the adxl34x digital > accelerometer. > > Signed-off-by: Walter Lozano Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/p

[PATCH v7] edac: synps: Added EDAC support for zynq ddr ecc controller

2015-01-01 Thread Punnaiah Choudary Kalluri
Added EDAC support for reporting the ecc errors of synopsys ddr controller. The ddr ecc controller corrects single bit errors and detects double bit errors. Signed-off-by: Punnaiah Choudary Kalluri --- Changes for v7: - Fixed indentation and removed insignificant comments - I have not taken care

Re: [PATCH] Documentation: Add entry for dell-laptop sysfs interface

2015-01-01 Thread Darren Hart
On Wed, Dec 31, 2014 at 12:20:59PM +0100, Gabriele Mazzotta wrote: > On Tuesday 30 December 2014 21:31:49 Brian Norris wrote: > > Hi, > > > > On Wed, Dec 03, 2014 at 06:41:33PM +0100, Gabriele Mazzotta wrote: > > > Add the documentation for the new sysfs interface of dell-laptop > > > that allows

Re: [PATCH 0/2] x86: Add IMR support to Quark/Galileo

2015-01-01 Thread Darren Hart
On Mon, Dec 29, 2014 at 05:23:01PM +, Bryan O'Donoghue wrote: > This patchset adds an IMR driver to the kernel plus platform code for > Intel Galileo Gen1/Gen2 boards. I will be taking a closer look at this on Monday the 5th when I return from vacation. -- Darren Hart Intel Open Source Techn

Re: [PATCH] Revert "cfg80211: make WEXT compatibility unselectable"

2015-01-01 Thread Lennart Sorensen
On Thu, Jan 01, 2015 at 12:14:15PM -0800, Linus Torvalds wrote: > So I'm not saying "ifconfig is wonderful". It's not. > > But I *am* saying that "changing user interfaces and then expecting > people to change is f*cking stupid". > > The fact is, ifconfig is simple for the simple cases, but more

[PATCH] crypto: Remove unnecessary KERN_ERR in bfin_crc.c

2015-01-01 Thread Masanari Iida
This patch removes unnecessary KERN_ERR from bfin_crypto_crc_mod_init(). Signed-off-by: Masanari Iida --- drivers/crypto/bfin_crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/bfin_crc.c b/drivers/crypto/bfin_crc.c index 9ae149b..33cf9eb 100644 --- a/driver

[PATCH] adjtimex: PPM scaling is by 2^-16

2015-01-01 Thread Jeff Epler
Signed-off-by: Jeff Epler --- Like Laurent Georget, I found by reading ntpd source the scale is 2^16 (i.e., 1 ~= 1.5e-5 ppm, 65536 = 1ppm) Perhaps a wording like the following is suitable. man2/adjtimex.2 | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/man2/adjtimex.2

[PATCH] Documentation: mm: Fix typo in vm.txt

2015-01-01 Thread Masanari Iida
This patch fix a spelling typo in Documentation/sysctl/vm.txt Signed-off-by: Masanari Iida --- Documentation/sysctl/vm.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt index 4415aa9..de3afef 100644 --- a/Documentati

Re: [PATCH v2 3/3] X86: Add a thread cpu time implementation to vDSO

2015-01-01 Thread Shaohua Li
On Fri, Dec 19, 2014 at 06:03:34PM +0100, Peter Zijlstra wrote: > On Fri, Dec 19, 2014 at 08:48:07AM -0800, Andy Lutomirski wrote: > > On Fri, Dec 19, 2014 at 3:23 AM, Peter Zijlstra > > wrote: > > > On Thu, Dec 18, 2014 at 04:22:59PM -0800, Andy Lutomirski wrote: > > >> Bad news: this patch is i

[PATCH] microblaze: Add missing PVR version codes

2015-01-01 Thread Erico Nunes
PVR version code was missing in the cpu_ver_lookup table for the following versions: 8.50.b 8.50.c 9.2 9.3 This caused /proc/cpuinfo to display "CPU-Ver: Unknown" for these versions. This was detected and the patch tested with MicroBlaze version 8.50.c. The other codes were taken from the Xilinx

Re: [PATCH v3 0/5] block: loop: convert to blk-mq

2015-01-01 Thread Sedat Dilek
On Fri, Jan 2, 2015 at 3:22 AM, Ming Lei wrote: > On Thu, Jan 1, 2015 at 11:14 PM, Sedat Dilek wrote: >> On Thu, Jan 1, 2015 at 1:29 AM, Ming Lei wrote: >> [...] How did you test with fio (your fio lines)? >>> >>> Your fio command line is basically same with my fio config, and you >>> can a

Re: [PATCH v3 0/5] block: loop: convert to blk-mq

2015-01-01 Thread Ming Lei
On Thu, Jan 1, 2015 at 11:14 PM, Sedat Dilek wrote: > On Thu, Jan 1, 2015 at 1:29 AM, Ming Lei wrote: > [...] >>> How did you test with fio (your fio lines)? >> >> Your fio command line is basically same with my fio config, and you >> can attach one image to loop via: losetup -f file_name. Looks

Re: [PATCH 0/2] x86: Add IMR support to Quark/Galileo

2015-01-01 Thread Darren Hart
On Wed, Dec 31, 2014 at 12:12:58PM +0200, Andy Shevchenko wrote: > On Mon, Dec 29, 2014 at 7:23 PM, Bryan O'Donoghue > wrote: > > This patchset adds an IMR driver to the kernel plus platform code for > > Intel Galileo Gen1/Gen2 boards. > > [] > > > Bryan O'Donoghue (2): > > x86: Add Isolated M

Re: [PATCH v3 0/6] support GMAC driver for RK3288

2015-01-01 Thread David Miller
From: Heiko Stübner Date: Thu, 01 Jan 2015 03:06:31 +0100 > Hi David, > > Am Mittwoch, 31. Dezember 2014, 19:15:38 schrieb David Miller: >> From: Roger Chen >> Date: Mon, 29 Dec 2014 17:42:32 +0800 >> >> > Roger Chen (6): >> > patch1: add driver for Rockchip RK3288 SoCs integrated GMAC >> >

[PATCH] PCI/sysfs: off by two and memory corruption in driver_override parameter

2015-01-01 Thread Sasha Levin
There are two different issues fixed here: - On nun-NULL terminated input a random byte of memory would get flipped from '\n' to '\0'. - When printing the driver_override parameter when it is 4095 and 4094 bytes long the printing code would access invalid memory. Signed-off-by: Sasha Levin ---

Re: apparent loss of continuity in kernel .config?

2015-01-01 Thread Gene Heskett
On Thursday 01 January 2015, rh_ wrote: >On Wed, 31 Dec 2014 09:16:57 -0500 > >Gene Heskett wrote: >> Greetings; >> >> Usually, when I build a new kernel, just placing a copy of an older >> versions .config in the unpacked src directory is sufficient that >> only what has been changed has to be a

[PATCH] ACPI / PM: Fix PM initialization for devices that are not present

2015-01-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If an ACPI device object whose _STA returns 0 (not present and not functional) has _PR0 or _PS0, its power_manageable flag will be set and acpi_bus_init_power() will return 0 for it. Consequently, if such a device object is passed to the ACPI device PM functions, they wil

Re: [PATCH] can: kvaser_usb: Don't free packets when tight on URBs

2015-01-01 Thread Stephen Hemminger
On Tue, 23 Dec 2014 17:46:54 +0200 "Ahmed S. Darwish" wrote: > int ret = NETDEV_TX_OK; > + bool kfree_skb_on_error = true; > > if (can_dropped_invalid_skb(netdev, skb)) > return NETDEV_TX_OK; > @@ -1336,6 +1337,7 @@ static netdev_tx_t kvaser_usb_start_xmit(struct s

Re: [GIT PULL 0/3] perf/urgent fixes and improvements

2015-01-01 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit ac931f87a647ca156f65a4c00e7297165e4fa2d8: > > perf: Fix building warning on ARM 32 (2014-12-19 13:09:43 +0100) > > are available in the git repository at: >

[tip:perf/urgent] perf ui/tui: Print backtrace symbols when segfault occurs

2015-01-01 Thread tip-bot for Namhyung Kim
Commit-ID: b11bc8e28f4829f693ef6c0178fe1811386ac828 Gitweb: http://git.kernel.org/tip/b11bc8e28f4829f693ef6c0178fe1811386ac828 Author: Namhyung Kim AuthorDate: Mon, 22 Dec 2014 13:44:11 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 23 Dec 2014 12:05:59 -0300 perf ui/tui: P

Re: [GIT PULL] One more vdso fix for 3.19

2015-01-01 Thread Ingo Molnar
* Andy Lutomirski wrote: > Hi Ingo et al, > > Please consider pulling for x86/urgent. > > Thanks, > Andy > > > The following changes since commit 394f56fe480140877304d342dec46d50dc823d46: > > x86_64, vdso: Fix the vdso address randomization algorithm > (2014-12-20 16:56:57 -0800) > > are

[tip:perf/urgent] perf callchain: Append callchains only when requested

2015-01-01 Thread tip-bot for Namhyung Kim
Commit-ID: 82aa019e0098a1e0801df94345c0297448323126 Gitweb: http://git.kernel.org/tip/82aa019e0098a1e0801df94345c0297448323126 Author: Namhyung Kim AuthorDate: Mon, 22 Dec 2014 13:44:14 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 23 Dec 2014 12:06:39 -0300 perf callchain

[tip:perf/urgent] perf report: Show progress bar for output resorting

2015-01-01 Thread tip-bot for Namhyung Kim
Commit-ID: 740b97f9509ac5a015278940747178af4eb0900d Gitweb: http://git.kernel.org/tip/740b97f9509ac5a015278940747178af4eb0900d Author: Namhyung Kim AuthorDate: Mon, 22 Dec 2014 13:44:10 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 23 Dec 2014 12:01:37 -0300 perf report: S

libaio tarballs on

2015-01-01 Thread Sedat Dilek
[ CC libaio Debian/Ubuntu maintainer ] Hi Jeff, I am playing with fio (manually compiled v2.2.3) and wanted to update also my libaio development package on Ubuntu/precise. Both dsc (description) files of Debian and Ubuntu libaio source packages v0.3.110 [1,2] point to a URL on [3]. This space i

Re: iio: dht11 Updates

2015-01-01 Thread harald
Hi! On Thu, 01 Jan 2015 12:38:23 +, Jonathan Cameron wrote: > On 02/12/14 23:32, Richard Weinberger wrote: >> Please see my current patches for your driver. >> As discussed in an earlier mail I'm testing with the DHT22 sensor only. >> With the IRQ changes I see 84 edges. >> >> >> [PATCH 1/4

Re: [PATCH] drivers:isdn: Remove uneeded fix me comment in capi.c for the function,decode_ie

2015-01-01 Thread Tilman Schmidt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nicholas, Am 31.12.2014 um 20:21 schrieb Nicholas Krause: > Removes a no longer needed fix me comment for the > function,decode_ie in the file, capi.c. This comment is no longer > needed as the commit this was written in was 2009 when the new > driver

Disappearing RFC3041 IPv6 privacy addresses

2015-01-01 Thread Chris Adams
Starting (I believe) with kernel 3.17, I am seeing RFC3041 IPv6 privacy addresses disappear while they are still in use. I have been seeing open SSH connections drop, and have finally seen one "dead" but not yet closed. At that point "ss -t" shows an ESTAB socket with a local address that is no l

Re: [PATCH v5 3/7] iio: Add support for DA9150 GPADC

2015-01-01 Thread Hartmut Knaack
Adam Thomson schrieb am 22.12.2014 um 17:51: > This patch adds support for DA9150 Charger & Fuel-Gauge IC GPADC. > > Signed-off-by: Adam Thomson Reviewed-by: Hartmut Knaack > --- > drivers/iio/adc/Kconfig| 9 + > drivers/iio/adc/Makefile | 1 + > drivers/iio/adc/da9150-gpadc.c

Re: Bisected regression from 3.17 still present in 3.19-rc1

2015-01-01 Thread Andreas Mohr
Matthew Garrett wrote: > There's your problem. The Darwin call results in the firmware exposing > the battery via SBS, not as an ACPI control method battery. Enable > CONFIG_ACPI_SBS and you should be good. Hmm, do I smell a possible usability case here? Two choices: a) declare a non-CONFIG_ACPI_S

[PATCH] Removed unused variable i from sound/soc/soc-pcm.c Signed-off-by: Shakil A Khan

2015-01-01 Thread Shakil A Khan
--- sound/soc/soc-pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index d6e8d6b..6b0136e 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -304,7 +304,7 @@ static bool soc_pcm_has_symmetry(struct snd_pcm_substream *su

YOU HAVE WON!!

2015-01-01 Thread POSTCODESLOTERIJ.NL
We are please to inform you of our new year promotion award program held 1st January 2015,which have pronounce your email-address as the lucky winner of a total sum:of €250,000. CONTACT: The claim office/Email:postc...@luckymail.com,with your winning Serial-No:LE0031#11250PSNL. __ __ __ __ _

Re: [PATCH] Revert "cfg80211: make WEXT compatibility unselectable"

2015-01-01 Thread Linus Torvalds
On Thu, Jan 1, 2015 at 11:44 AM, Lennart Sorensen wrote: > > ifconfig seems to just be broken for many cases of perfectly nice features > in the kernel. So I'm not saying "ifconfig is wonderful". It's not. But I *am* saying that "changing user interfaces and then expecting people to change is f*

Re: [PATCH v5 18/18] Documentation: ACPI for ARM64

2015-01-01 Thread Graeme Gregory
On Wed, Dec 31, 2014 at 04:34:46PM +0800, Hanjun Guo wrote: > On 2014年12月31日 04:13, ashw...@codeaurora.org wrote: > >Hi Hanjun, > > > >Overall the document looks good to us. Some minor clarifications below. > > > >>-- Forwarded message -- > >>From: Graeme Gregory > >> > >>Add docum

Re: [PATCH 1/2] x86: Add Isolated Memory Regions for Quark X1000

2015-01-01 Thread Bryan O'Donoghue
On 31/12/14 15:05, Andy Shevchenko wrote: >> +int imr_del(int reg, unsigned long base, unsigned long size); > > Same comments as for add_range. > Could it be imr_remove_range() ? Can be. You've actually caught me out there, function name is "imr_del" function description says imr_del_range(). Am

Re: [PATCH] gpu: drm: gma500: mmu.c: Remove unused function

2015-01-01 Thread Patrik Jakobsson
On Thu, Jan 1, 2015 at 5:55 PM, Rickard Strandqvist wrote: > Remove the function psb_get_default_pd_addr() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist Hej Rickard I'd like to keep that

Re: [PATCH] Revert "cfg80211: make WEXT compatibility unselectable"

2015-01-01 Thread Lennart Sorensen
On Wed, Dec 31, 2014 at 01:57:59PM -0800, Linus Torvalds wrote: > Side note: does anybody think that was really a good idea to begin > with? I mean, Cisco iOS is just _s_ universally loved, right? > > And yeah, I refuse to use "ip link" or other insane commands. Let's > face it, "ifconfig" and

Re: [PATCH] arch: mips: kernel: traps: Remove some unused functions

2015-01-01 Thread Leonid Yegoshin
Is it a New Year joke? Did you try to build vmlinux MIPS binary? - Leonid

Re: [PATCH] arch: arm: mm: ioremap: Remove unused function

2015-01-01 Thread Thomas Petazzoni
Dear Rickard Strandqvist, On Thu, 1 Jan 2015 20:10:51 +0100, Rickard Strandqvist wrote: > Remove the function pci_ioremap_set_mem_type() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist H

[PATCH] acpi: acpica: utuuid: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function acpi_ut_convert_string_to_uuid() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/acpi/acpica/acutils.h |5 - drivers/acpi/acpica/utuuid.c | 29

Re: [PATCH] serial: altera-uart: fix NULL device in log message

2015-01-01 Thread Pavel Machek
On Tue 2014-12-16 15:28:34, Ley Foon Tan wrote: > Add device pointer to port->dev. > > Before: > > "(NULL device *): ttyAL0 at MMIO 0x2020 (irq = 6, base_baud = 3125000) > is a Altera UART" > > After: > "altera_uart 2020.serial: ttyAL0 at MMIO 0x2020 (irq = 6, base_baud = 3125000) > is a Altera

[PATCH] arch: mips: mm: page: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function sb1_dma_init() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/mips/mm/page.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/arch/mips/mm/page.c b

[PATCH] isdn: hisax: hfc4s8s_l1: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: Read_hfc32() Write_hfc32() Write_hfc16() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/isdn/hisax/hfc4s8s_l1.c | 21 - 1 file changed, 21

[PATCH] arch: mips: net: bpf_jit: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function emit_daddiu() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/mips/net/bpf_jit.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/mips/net/bpf_jit.c

[PATCH] usb: phy: phy-fsl-usb: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: fsl_otg_tick_timer() view_ulpi() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/usb/phy/phy-fsl-usb.c | 35 --- 1 file changed,

[PATCH] video: fbdev: exynos: exynos_mipi_dsi_common: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: exynos_mipi_dsi_fifo_clear() exynos_mipi_dsi_set_data_transfer_mode() exynos_mipi_dsi_enable_frame_done_int() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- .../video/fb

[PATCH] arch: mips: ath79: gpio: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ath79_gpio_function_disable() ath79_gpio_function_enable() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/mips/ath79/common.h |2 -- arch/mips/ath79/gpio.c |

[PATCH] arch: arm: mm: ioremap: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function pci_ioremap_set_mem_type() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/arm/include/asm/io.h |6 -- arch/arm/mm/ioremap.c |5 - 2 files changed, 1

Re: [PATCH] Drivers: isdn: gigaset: checkpatch cleanup

2015-01-01 Thread Tilman Schmidt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Bas, I have several objections to your patch. Am 31.12.2014 um 18:34 schrieb Bas Peters: > I have not been able to test the code as I do not have access to > the hardware but since no new features were really added I don't > think that should p

Re: [GIT PULL] Audit fixes for 3.19 #2

2015-01-01 Thread Al Viro
On Thu, Jan 01, 2015 at 12:01:49AM +, Al Viro wrote: > Umm... How about just adding a function that would be used instead of > all those > struct filename filename = { .name = name }; > and created an object that would be destroyed later by putname()? ... such as getname_kernel(), ac

Re: [PATCH] ovl: Prevent rw remount when it should be ro mount

2015-01-01 Thread Sedat Dilek
On Thu, Jan 1, 2015 at 4:38 PM, Seunghun Lee wrote: > Overlayfs should be mounted read-only when upper fs is r/o or nonexistend. > But now it can be remounted read-write and this can causes kernel panic. > So we should prevent read-write remount when the above situation. > Cannot say much to the

Re: [GIT PULL] Audit fixes for 3.19 #2

2015-01-01 Thread Paul Moore
On Wed, Dec 31, 2014 at 7:01 PM, Al Viro wrote: > On Wed, Dec 31, 2014 at 05:08:12PM -0500, Paul Moore wrote: > >> The getname/putname hacks work in the normal file case, but it falls apart >> when you start talking about AF_UNIX socket files where the filename string >> doesn't go through the get

Re: [GIT PULL] Audit fixes for 3.19 #2

2015-01-01 Thread Paul Moore
On Wed, Dec 31, 2014 at 5:54 PM, Linus Torvalds wrote: > On Wed, Dec 31, 2014 at 2:08 PM, Paul Moore wrote: >> >> The getname/putname hacks work in the normal file case, but it falls apart >> when you start talking about AF_UNIX socket files where the filename string >> doesn't go through the get

[PATCH] arch: arm: mm: cache-feroceon-l2: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: l2_inv_pa() l2_clean_pa() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/arm/mm/cache-feroceon-l2.c | 10 -- 1 file changed, 10 deletions(-) diff --git a

[PATCH] arch: arm: mach-rpc: ecard: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ecard_disablefiq() ecard_enablefiq() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/arm/mach-rpc/ecard.c | 29 - 1 file changed, 29 de

Re: linux-next: Tree for Dec 31 (usb/dwc2)

2015-01-01 Thread Randy Dunlap
On 12/30/14 17:29, Stephen Rothwell wrote: > Hi all, > > There will only be intermittent releases of linux-next between now and > Jan 5. > > Changes since 20141226: > on i386, when CONFIG_USB=m, CONFIG_USB_GADGET=y, and CONFIG_USB_DWC2=y: drivers/built-in.o: In function `_dwc2_hcd_urb_dequeue'

[PATCH] arch: blackfin: kernel: kgdb: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function kgdb_post_primary_code() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/blackfin/kernel/kgdb.c | 13 - 1 file changed, 13 deletions(-) diff --git a/arch/

[PATCH] gpu: drm: qxl: qxl_fb: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: qxl_fbdev_qobj_is_fb() qxl_get_handle_for_primary_fb() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/qxl/qxl_drv.h |4 drivers/gpu/drm/qxl/qxl_

[PATCH] md: dm-thin-metadata: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function dm_pool_get_data_block_size() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/md/dm-thin-metadata.c |9 - drivers/md/dm-thin-metadata.h |2 -- 2 files

[PATCH] arch: avr32: mach-at32ap: at32ap700x: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function set_ebi_sfr_bits() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/avr32/mach-at32ap/at32ap700x.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/arch/

[PATCH] media: platform: vsp1: vsp1_hsit: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function vsp1_hsit_read() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/media/platform/vsp1/vsp1_hsit.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/me

[PATCH] tools: perf: util: session: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function perf_session__peek_event() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- tools/perf/util/session.c | 55 - tools/perf/util/ses

[PATCH] mfd: db8500-prcmu: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function prcmu_get_boot_status() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/mfd/db8500-prcmu.c |9 - 1 file changed, 9 deletions(-) diff --git a/drivers/mfd/

[PATCH] arch: mips: kernel: traps: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: do_bp() do_ftlb() do_dsp() do_mcheck() do_mdmx() do_msa() do_msa_fpe() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/mips/kernel/traps.c | 185 ---

[PATCH] mailbox: pl320-ipc: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: clear_destination() set_destination() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/mailbox/pl320-ipc.c | 12 1 file changed, 12 deletions(-) di

[PATCH] arch: mips: fw: arc: misc.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ArcGetSystemId() ArcSaveConfiguration() ArcRestart() ArcPowerDown() ArcHalt() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/mips/fw/arc/misc.c | 40 -

[PATCH] arch: arm: nwfpe: softfloat.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: floatx80_lt_quiet() floatx80_le_quiet() floatx80_eq_signaling() floatx80_le() floatx80_to_int32_round_to_zero() float64_lt_quiet() float64_le_quiet() float64_eq_signaling() float32_lt_quiet() float32_le_quiet() float32_eq_signaling() This was part

[PATCH] staging: vt6655: mib.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: STAvClearAllCounter() STAvClear802_11Counter() STAvUpdateTDStatCounterEx() STAvUpdateRDStatCounterEx() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/staging/vt6

[PATCH] acpi: acpica: utmisc.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function acpi_ut_is_aml_table() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/acpi/acpica/acutils.h |2 -- drivers/acpi/acpica/utmisc.c | 28 -

[PATCH] arch: arm: mach-omap2: voltage.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: voltdm_for_each_pwrdm() omap_change_voltscale_method() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/arm/mach-omap2/voltage.c | 65 ++

[PATCH] gpu: drm: qxl: qxl_cmd.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: qxl_io_flush_surfaces() qxl_io_flush_release() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/qxl/qxl_cmd.c | 10 -- drivers/gpu/drm/qxl/qxl_dr

[PATCH] power: ab8500_fg.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function ab8500_fg_reinit() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/power/ab8500_fg.c| 14 -- include/linux/mfd/abx500/ab8500-bm.h |1 -

[PATCH] media: pci: saa7134: saa7134-video.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function saa7134_queue() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/media/pci/saa7134/saa7134-video.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/m

[PATCH] scsi: cxgbi: libcxgbi.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: csk_print_ip() csk_print_port() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/scsi/cxgbi/libcxgbi.c | 28 1 file changed, 28 dele

[PATCH] arch: m68k: mac: misc.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: mac_pram_write() mac_pram_read() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/m68k/mac/misc.c | 46 -- 1 file change

[PATCH] net: fddi: skfp: smt.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function smt_ifconfig() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/net/fddi/skfp/smt.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/net/fddi

[PATCH] net: ethernet: micrel: ksz884x.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: hw_w_phy_link_md() hw_r_phy_link_md() hw_w_phy_polarity() hw_r_phy_polarity() hw_w_phy_crossover() hw_r_phy_crossover() hw_r_phy_rem_cap() hw_w_phy_auto_neg() hw_r_phy_auto_neg() hw_r_phy_link_stat() sw_get_addr() port_chk_prio() port_chk_replace_v

[PATCH] block: rbd.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function copy_token() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/block/rbd.c | 30 -- 1 file changed, 30 deletions(-) diff --git a/drivers/

[PATCH] gpu: drm: gma500: mmu.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function psb_get_default_pd_addr() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/gma500/mmu.c |9 - 1 file changed, 9 deletions(-) diff --git a/drivers/

[PATCH] media: pci: mantis: mantis_core.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function write_eeprom_byte() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/media/pci/mantis/mantis_core.c | 23 --- 1 file changed, 23 deletions(-) di

[PATCH] gpu: drm: qxl: qxl_gem.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: qxl_gem_fini() qxl_gem_init() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/qxl/qxl_drv.h |2 -- drivers/gpu/drm/qxl/qxl_gem.c | 11 --- 2

[PATCH] net: ethernet: chelsio: cxgb3: mc5.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: dbgi_rd_rsp3() dbgi_wr_addr3() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/net/ethernet/chelsio/cxgb3/mc5.c | 16 1 file changed, 16 deleti

[PATCH] arch: m68k: mvme147: config.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function mvme147_init_console_port() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/m68k/mvme147/config.c |5 - 1 file changed, 5 deletions(-) diff --git a/arch/m68k/mv

[PATCH] arch: mips: lasat: sysctl.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function proc_dolasatint() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/mips/lasat/sysctl.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/arch/mips/las

[PATCH] misc: sgi-gru: gruhandles.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function tfh_restart() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/misc/sgi-gru/gruhandles.c |6 -- drivers/misc/sgi-gru/gruhandles.h |1 - 2 files changed, 7

[PATCH] arch: arm: plat-omap: dma.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function get_gdma_dev() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/arm/plat-omap/dma.c |8 1 file changed, 8 deletions(-) diff --git a/arch/arm/plat-omap/dma.c

[PATCH] staging: gs_fpgaboot: io.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function bitswap() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/staging/gs_fpgaboot/io.c |9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/gs_f

Re: [PATCH] arch: mips: pci: pci-ip27.c: Remove unused function

2015-01-01 Thread Paul Gortmaker
[[PATCH] arch: mips: pci: pci-ip27.c: Remove unused function] On 01/01/2015 (Thu 16:32) Rickard Strandqvist wrote: > Remove the function pci_enable_swapping() that is not used anywhere. A quick search shows it has been orphanware since the git epoch (~2005) so removing it should be fine AFAICT.

[PATCH] media: i2c: adv7604.c: Remove some unused functions

2015-01-01 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: vblanking() hblanking() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/media/i2c/adv7604.c | 10 -- drivers/media/i2c/adv7842.c | 10 -- driv

[PATCH] net: wireless: b43legacy: radio.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function b43legacy_radio_set_tx_iq() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/net/wireless/b43legacy/radio.c | 19 --- drivers/net/wireless/b43legacy/

[PATCH] arch: cris: arch-v32: mach-a3: arbiter.c: Remove unused function

2015-01-01 Thread Rickard Strandqvist
Remove the function crisv32_arbiter_deallocate_bandwidth() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/cris/arch-v32/mach-a3/arbiter.c | 30 -- arch/cris/

[PATCH] ovl: Prevent rw remount when it should be ro mount

2015-01-01 Thread Seunghun Lee
Overlayfs should be mounted read-only when upper fs is r/o or nonexistend. But now it can be remounted read-write and this can causes kernel panic. So we should prevent read-write remount when the above situation. Signed-off-by: Seunghun Lee --- fs/overlayfs/super.c | 11 +++ 1 file chan

  1   2   >