These helper are used to compare and copy two uuid_t type objects.
Signed-off-by: Amir Goldstein
[hch: also provide the respective guid_ versions]
Signed-off-by: Christoph Hellwig
Reviewed-by: Andy Shevchenko
---
fs/xfs/uuid.c| 6 --
fs/xfs/uuid.h| 7 ---
Hoist the libnvdimm helper as an inline helper to linux/uuid.h
using an auxiliary const variable uuid_null in lib/uuid.c.
[hch: also add the guid variant. Both do the same but I'd like
to keep casts to a minimum]
The common helper uses the new abstract type uuid_t * instead of
u8 *.
From: Amir Goldstein
The md private helper uuid_equal() collides with a generic helper
of the same name.
Rename the md private helper to md_uuid_equal() and do the same for
md_sb_equal().
Signed-off-by: Amir Goldstein
Signed-off-by: Christoph Hellwig
These are only used in uuid.c and vsprintf.c and aren't something modules
should use directly.
Signed-off-by: Christoph Hellwig
Reviewed-by: Amir Goldstein
Reviewed-by: Andy Shevchenko
---
lib/uuid.c | 2 --
1 file changed, 2
From: Amir Goldstein
The md private helper uuid_equal() collides with a generic helper
of the same name.
Rename the md private helper to md_uuid_equal() and do the same for
md_sb_equal().
Signed-off-by: Amir Goldstein
Signed-off-by: Christoph Hellwig
Reviewed-by: Shaohua Li
Reviewed-by:
These are only used in uuid.c and vsprintf.c and aren't something modules
should use directly.
Signed-off-by: Christoph Hellwig
Reviewed-by: Amir Goldstein
Reviewed-by: Andy Shevchenko
---
lib/uuid.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/uuid.c b/lib/uuid.c
index
Our "little endian" UUID really is a Wintel GUID, so rename it and its
helpers such (guid_t). The big endian UUID is the only true one, so
give it the name uuid_t. The uuid_le and uuid_be names are retained for
now, but will hopefully go away soon. The exception to that are the _cmp
helpers
Use the generic Linux definition to implement our UUID type, this will
allow using more generic infrastructure in the future.
Signed-off-by: Christoph Hellwig
Reviewed-by: Amir Goldstein
Reviewed-by: Brian Foster
Reviewed-by: Andy Shevchenko
From: Amir Goldstein
uuid_t definition is about to change.
Signed-off-by: Amir Goldstein
Signed-off-by: Christoph Hellwig
Reviewed-by: Brian Foster
Reviewed-by: Andy Shevchenko
Our "little endian" UUID really is a Wintel GUID, so rename it and its
helpers such (guid_t). The big endian UUID is the only true one, so
give it the name uuid_t. The uuid_le and uuid_be names are retained for
now, but will hopefully go away soon. The exception to that are the _cmp
helpers
Use the generic Linux definition to implement our UUID type, this will
allow using more generic infrastructure in the future.
Signed-off-by: Christoph Hellwig
Reviewed-by: Amir Goldstein
Reviewed-by: Brian Foster
Reviewed-by: Andy Shevchenko
Reviewed-by: Darrick J. Wong
---
fs/xfs/uuid.h
From: Amir Goldstein
uuid_t definition is about to change.
Signed-off-by: Amir Goldstein
Signed-off-by: Christoph Hellwig
Reviewed-by: Brian Foster
Reviewed-by: Andy Shevchenko
Reviewed-by: Darrick J. Wong
---
fs/xfs/xfs_inode_item.c | 8 ++--
1 file changed, 2 insertions(+), 6
On 5/28/17, Mika Westerberg wrote:
> On Sat, May 27, 2017 at 11:45:21PM +0300, Andy Shevchenko wrote:
>> On Fri, May 26, 2017 at 7:09 PM, Mika Westerberg
>> wrote:
>>
>> > +static inline u8 dual_link_from_link(u8 link)
>> > +{
>>
On 5/28/17, Mika Westerberg wrote:
> On Sat, May 27, 2017 at 11:45:21PM +0300, Andy Shevchenko wrote:
>> On Fri, May 26, 2017 at 7:09 PM, Mika Westerberg
>> wrote:
>>
>> > +static inline u8 dual_link_from_link(u8 link)
>> > +{
>> > + return link ? ((link - 1) ^ 0x01) + 1 : 0;
>> > +}
>>
>>
Commit-ID: 94133e46a0f5ca3f138479806104ab4a8cb0455e
Gitweb: http://git.kernel.org/tip/94133e46a0f5ca3f138479806104ab4a8cb0455e
Author: Baoquan He
AuthorDate: Fri, 26 May 2017 12:36:50 +0100
Committer: Ingo Molnar
CommitDate: Sun, 28 May 2017 11:06:16
Commit-ID: 94133e46a0f5ca3f138479806104ab4a8cb0455e
Gitweb: http://git.kernel.org/tip/94133e46a0f5ca3f138479806104ab4a8cb0455e
Author: Baoquan He
AuthorDate: Fri, 26 May 2017 12:36:50 +0100
Committer: Ingo Molnar
CommitDate: Sun, 28 May 2017 11:06:16 +0200
x86/efi: Correct EFI
Commit-ID: 7425826f4f7ac60f2538b06a7f0a5d1006405159
Gitweb: http://git.kernel.org/tip/7425826f4f7ac60f2538b06a7f0a5d1006405159
Author: Dave Young
AuthorDate: Fri, 26 May 2017 12:36:51 +0100
Committer: Ingo Molnar
CommitDate: Sun, 28 May 2017
Commit-ID: 7425826f4f7ac60f2538b06a7f0a5d1006405159
Gitweb: http://git.kernel.org/tip/7425826f4f7ac60f2538b06a7f0a5d1006405159
Author: Dave Young
AuthorDate: Fri, 26 May 2017 12:36:51 +0100
Committer: Ingo Molnar
CommitDate: Sun, 28 May 2017 11:06:17 +0200
efi/bgrt: Skip
Commit-ID: 4e52797d2efefac3271abdc54439a3435abd77b9
Gitweb: http://git.kernel.org/tip/4e52797d2efefac3271abdc54439a3435abd77b9
Author: Sai Praneeth
AuthorDate: Fri, 26 May 2017 12:36:49 +0100
Committer: Ingo Molnar
CommitDate: Sun, 28
Commit-ID: 4e52797d2efefac3271abdc54439a3435abd77b9
Gitweb: http://git.kernel.org/tip/4e52797d2efefac3271abdc54439a3435abd77b9
Author: Sai Praneeth
AuthorDate: Fri, 26 May 2017 12:36:49 +0100
Committer: Ingo Molnar
CommitDate: Sun, 28 May 2017 11:06:16 +0200
x86/efi: Disable runtime
Commit-ID: 684e3f965d0be8c26fedefe94f637374242aba08
Gitweb: http://git.kernel.org/tip/684e3f965d0be8c26fedefe94f637374242aba08
Author: Arnd Bergmann
AuthorDate: Fri, 26 May 2017 12:36:48 +0100
Committer: Ingo Molnar
CommitDate: Sun, 28 May 2017 11:06:16
Commit-ID: 684e3f965d0be8c26fedefe94f637374242aba08
Gitweb: http://git.kernel.org/tip/684e3f965d0be8c26fedefe94f637374242aba08
Author: Arnd Bergmann
AuthorDate: Fri, 26 May 2017 12:36:48 +0100
Committer: Ingo Molnar
CommitDate: Sun, 28 May 2017 11:06:16 +0200
efi: Remove duplicate
Commit-ID: 1ea34adb87c969b89dfd83f1905a79161e9ada26
Gitweb: http://git.kernel.org/tip/1ea34adb87c969b89dfd83f1905a79161e9ada26
Author: Juergen Gross
AuthorDate: Fri, 26 May 2017 12:36:47 +0100
Committer: Ingo Molnar
CommitDate: Sun, 28 May 2017
Commit-ID: 1ea34adb87c969b89dfd83f1905a79161e9ada26
Gitweb: http://git.kernel.org/tip/1ea34adb87c969b89dfd83f1905a79161e9ada26
Author: Juergen Gross
AuthorDate: Fri, 26 May 2017 12:36:47 +0100
Committer: Ingo Molnar
CommitDate: Sun, 28 May 2017 11:06:16 +0200
efi: Don't issue error
On Tue, 9 May 2017 17:43:27 -0700
Dmitry Torokhov wrote:
> Hi Michal,
>
> On Tue, May 09, 2017 at 09:14:18PM +0200, Michal Suchanek wrote:
> > There is nothing mac-specific about this driver. Non-mac hardware
> > with suboptimal built-in pointer devices exists.
> >
>
On Tue, 9 May 2017 17:43:27 -0700
Dmitry Torokhov wrote:
> Hi Michal,
>
> On Tue, May 09, 2017 at 09:14:18PM +0200, Michal Suchanek wrote:
> > There is nothing mac-specific about this driver. Non-mac hardware
> > with suboptimal built-in pointer devices exists.
> >
> > This makes it possible
On 05/27/2017 12:53 AM, Alexey Khoroshilov wrote:
> ad7152_write_raw_samp_freq() is called by ad7152_write_raw() with
> chip->state_lock held. So, there is unavoidable deadlock when
> ad7152_write_raw_samp_freq() locks the mutex itself.
>
> The patch removes unneeded locking.
>
> Found by Linux
On 05/27/2017 12:53 AM, Alexey Khoroshilov wrote:
> ad7152_write_raw_samp_freq() is called by ad7152_write_raw() with
> chip->state_lock held. So, there is unavoidable deadlock when
> ad7152_write_raw_samp_freq() locks the mutex itself.
>
> The patch removes unneeded locking.
>
> Found by Linux
On May 28, 2017 2:29:32 AM PDT, Dmitry Vyukov wrote:
>On Sun, May 28, 2017 at 1:02 AM, wrote:
>> On May 26, 2017 12:09:04 PM PDT, Dmitry Vyukov
>wrote:
>>>Some 64-bit atomic operations use 'long long' as operand/return type
>>>(e.g.
On May 28, 2017 2:29:32 AM PDT, Dmitry Vyukov wrote:
>On Sun, May 28, 2017 at 1:02 AM, wrote:
>> On May 26, 2017 12:09:04 PM PDT, Dmitry Vyukov
>wrote:
>>>Some 64-bit atomic operations use 'long long' as operand/return type
>>>(e.g. asm-generic/atomic64.h, arch/x86/include/asm/atomic64_32.h);
Hi Rkesh,
this looks reasonable, but we'll need to also adopt the non-PCI
driver to the new state machine. I can give this a spin.
At that point we probably want to move nvme_reset into common
code somehow.
Hi Rkesh,
this looks reasonable, but we'll need to also adopt the non-PCI
driver to the new state machine. I can give this a spin.
At that point we probably want to move nvme_reset into common
code somehow.
On Sun, May 21, 2017 at 05:39:47PM +0200, Fabian Frederick wrote:
> This small patchset reorganizes magic.h and fixes filesystems
> which defined locally super magic values.
And what's the point?
On Sun, May 21, 2017 at 05:39:47PM +0200, Fabian Frederick wrote:
> This small patchset reorganizes magic.h and fixes filesystems
> which defined locally super magic values.
And what's the point?
Small series to get the R-Car product name proper. Based on
renesas-drivers/master, but can be applied to current linus/master as well.
Except for the MMC patch, which depends on mmc/next.
Please apply.
Wolfram Sang (7):
dmaengine: use proper name for the R-Car SoC
i2c: use proper name for
Small series to get the R-Car product name proper. Based on
renesas-drivers/master, but can be applied to current linus/master as well.
Except for the MMC patch, which depends on mmc/next.
Please apply.
Wolfram Sang (7):
dmaengine: use proper name for the R-Car SoC
i2c: use proper name for
It is 'R-Car', not 'RCar'. No code or binding changes, only descriptive text.
Signed-off-by: Wolfram Sang
---
I suggest this trivial patch should be picked individually per susbsystem.
drivers/media/platform/rcar_fdp1.c | 2 +-
1 file changed, 1 insertion(+),
It is 'R-Car', not 'RCar'. No code or binding changes, only descriptive text.
Signed-off-by: Wolfram Sang
---
I suggest this trivial patch should be picked individually per susbsystem.
drivers/mmc/host/renesas_sdhi_core.c | 2 +-
include/linux/mfd/tmio.h
It is 'R-Car', not 'RCar'. No code or binding changes, only descriptive text.
Signed-off-by: Wolfram Sang
---
I suggest this trivial patch should be picked individually per susbsystem.
Documentation/devicetree/bindings/pci/rcar-pci.txt | 2 +-
1 file changed,
It is 'R-Car', not 'RCar'. No code or binding changes, only descriptive text.
Signed-off-by: Wolfram Sang
---
I suggest this trivial patch should be picked individually per susbsystem.
drivers/media/platform/rcar_fdp1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
It is 'R-Car', not 'RCar'. No code or binding changes, only descriptive text.
Signed-off-by: Wolfram Sang
---
I suggest this trivial patch should be picked individually per susbsystem.
drivers/mmc/host/renesas_sdhi_core.c | 2 +-
include/linux/mfd/tmio.h | 2 +-
2 files changed, 2
It is 'R-Car', not 'RCar'. No code or binding changes, only descriptive text.
Signed-off-by: Wolfram Sang
---
I suggest this trivial patch should be picked individually per susbsystem.
Documentation/devicetree/bindings/pci/rcar-pci.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
It is 'R-Car', not 'RCar'. No code or binding changes, only descriptive text.
Signed-off-by: Wolfram Sang
---
I suggest this trivial patch should be picked individually per susbsystem.
drivers/i2c/busses/i2c-rcar.c | 2 +-
1 file changed, 1 insertion(+), 1
It is 'R-Car', not 'RCar'. No code or binding changes, only descriptive text.
Signed-off-by: Wolfram Sang
---
I suggest this trivial patch should be picked individually per susbsystem.
drivers/i2c/busses/i2c-rcar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
It is 'R-Car', not 'RCar'. No code or binding changes, only descriptive text.
Signed-off-by: Wolfram Sang
---
I suggest this trivial patch should be picked individually per susbsystem.
Documentation/devicetree/bindings/iio/adc/renesas,gyroadc.txt | 2 +-
1
It is 'R-Car', not 'r-car'. No code or binding changes, only descriptive text.
Signed-off-by: Wolfram Sang
---
I suggest this trivial patch should be picked individually per susbsystem.
Documentation/devicetree/bindings/dma/shdma.txt | 2 +-
1 file changed, 1
It is 'R-Car', not 'RCar'. No code or binding changes, only descriptive text.
Signed-off-by: Wolfram Sang
---
I suggest this trivial patch should be picked individually per susbsystem.
Documentation/devicetree/bindings/media/rcar_vin.txt | 4 ++--
1 file
It is 'R-Car', not 'r-car'. No code or binding changes, only descriptive text.
Signed-off-by: Wolfram Sang
---
I suggest this trivial patch should be picked individually per susbsystem.
Documentation/devicetree/bindings/dma/shdma.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
It is 'R-Car', not 'RCar'. No code or binding changes, only descriptive text.
Signed-off-by: Wolfram Sang
---
I suggest this trivial patch should be picked individually per susbsystem.
Documentation/devicetree/bindings/media/rcar_vin.txt | 4 ++--
1 file changed, 2 insertions(+), 2
It is 'R-Car', not 'RCar'. No code or binding changes, only descriptive text.
Signed-off-by: Wolfram Sang
---
I suggest this trivial patch should be picked individually per susbsystem.
Documentation/devicetree/bindings/iio/adc/renesas,gyroadc.txt | 2 +-
1 file changed, 1 insertion(+), 1
On Sun, May 28, 2017 at 1:02 AM, wrote:
> On May 26, 2017 12:09:04 PM PDT, Dmitry Vyukov wrote:
>>Some 64-bit atomic operations use 'long long' as operand/return type
>>(e.g. asm-generic/atomic64.h, arch/x86/include/asm/atomic64_32.h);
>>while others use
On Sun, May 28, 2017 at 1:02 AM, wrote:
> On May 26, 2017 12:09:04 PM PDT, Dmitry Vyukov wrote:
>>Some 64-bit atomic operations use 'long long' as operand/return type
>>(e.g. asm-generic/atomic64.h, arch/x86/include/asm/atomic64_32.h);
>>while others use 'long' (e.g.
Hi,
this is on 32-bit with tip/master.
I *think* the solution is as straight-forward but pls double-check me on
that.
Thanks.
---
From: Borislav Petkov
Date: Sun, 28 May 2017 11:03:42 +0200
Subject: [PATCH] x86/kernel/process_32: Convert a smp_processor_id() call
... to
Hi,
this is on 32-bit with tip/master.
I *think* the solution is as straight-forward but pls double-check me on
that.
Thanks.
---
From: Borislav Petkov
Date: Sun, 28 May 2017 11:03:42 +0200
Subject: [PATCH] x86/kernel/process_32: Convert a smp_processor_id() call
... to
On 28/05/2017 05:00, Shawn Guo wrote:
> On Sat, May 27, 2017 at 11:58:47AM +0200, Daniel Lezcano wrote:
>> diff --git a/arch/arm/mach-imx/epit.c b/arch/arm/mach-imx/epit.c
>> index fb9a73a..4a4d2e2 100644
>> --- a/arch/arm/mach-imx/epit.c
>> +++ b/arch/arm/mach-imx/epit.c
>> @@ -39,7 +39,7 @@
>>
On 28/05/2017 05:00, Shawn Guo wrote:
> On Sat, May 27, 2017 at 11:58:47AM +0200, Daniel Lezcano wrote:
>> diff --git a/arch/arm/mach-imx/epit.c b/arch/arm/mach-imx/epit.c
>> index fb9a73a..4a4d2e2 100644
>> --- a/arch/arm/mach-imx/epit.c
>> +++ b/arch/arm/mach-imx/epit.c
>> @@ -39,7 +39,7 @@
>>
On Sat, May 27, 2017 at 11:45:21PM +0300, Andy Shevchenko wrote:
> On Fri, May 26, 2017 at 7:09 PM, Mika Westerberg
> wrote:
>
> > +static inline u8 dual_link_from_link(u8 link)
> > +{
> > + return link ? ((link - 1) ^ 0x01) + 1 : 0;
> > +}
>
> I have got
On Sat, May 27, 2017 at 11:45:21PM +0300, Andy Shevchenko wrote:
> On Fri, May 26, 2017 at 7:09 PM, Mika Westerberg
> wrote:
>
> > +static inline u8 dual_link_from_link(u8 link)
> > +{
> > + return link ? ((link - 1) ^ 0x01) + 1 : 0;
> > +}
>
> I have got better one (IIUC):
>
>
* h...@zytor.com wrote:
> This assumes that it actually ends up being feasible for objtool to do so.
Yes, agreed, that's a big precondition. I'm cautiously optimistic based on
Josh's
experiments that he posted about in this thread.
Thanks,
Ingo
* h...@zytor.com wrote:
> This assumes that it actually ends up being feasible for objtool to do so.
Yes, agreed, that's a big precondition. I'm cautiously optimistic based on
Josh's
experiments that he posted about in this thread.
Thanks,
Ingo
* Levin, Alexander (Sasha Levin) wrote:
> On Fri, May 26, 2017 at 01:21:51PM +0200, Ingo Molnar wrote:
> >
> > * Levin, Alexander (Sasha Levin) wrote:
> >
> > > Right, and as you can see from this patchset where we added to
> > >
* Levin, Alexander (Sasha Levin) wrote:
> On Fri, May 26, 2017 at 01:21:51PM +0200, Ingo Molnar wrote:
> >
> > * Levin, Alexander (Sasha Levin) wrote:
> >
> > > Right, and as you can see from this patchset where we added to
> > > tools/include/ when needed and removed from
On Sat, May 27, 2017 at 07:08:34PM +0300, Andy Shevchenko wrote:
> On Fri, May 26, 2017 at 7:09 PM, Mika Westerberg
> wrote:
> > The DMA (NHI) port of a switch provides access to the NVM of the host
> > controller (and devices starting from Intel Alpine Ridge).
On Sat, May 27, 2017 at 07:08:34PM +0300, Andy Shevchenko wrote:
> On Fri, May 26, 2017 at 7:09 PM, Mika Westerberg
> wrote:
> > The DMA (NHI) port of a switch provides access to the NVM of the host
> > controller (and devices starting from Intel Alpine Ridge). The NVM
> > contains also more
* John Stultz wrote:
> On Sat, May 27, 2017 at 12:38 AM, Ingo Molnar wrote:
> >
> > * John Stultz wrote:
> >
> >> As part of the Linaro Linux Kernel Functional Test (LKFT)
> >> effort, test failures from kselftest/timer's
> >>
* John Stultz wrote:
> On Sat, May 27, 2017 at 12:38 AM, Ingo Molnar wrote:
> >
> > * John Stultz wrote:
> >
> >> As part of the Linaro Linux Kernel Functional Test (LKFT)
> >> effort, test failures from kselftest/timer's
> >> inconsistency-check were reported connected to
> >>
* Andy Lutomirski wrote:
> On Sat, May 27, 2017 at 6:31 AM, kernel test robot
> wrote:
> >
> > FYI, we noticed the following commit:
> >
> > commit: e2a7dcce31f10bd7471b4245a6d1f2de344e7adf ("x86/mm: Rework lazy TLB
> > to track the actual loaded mm")
>
* Andy Lutomirski wrote:
> On Sat, May 27, 2017 at 6:31 AM, kernel test robot
> wrote:
> >
> > FYI, we noticed the following commit:
> >
> > commit: e2a7dcce31f10bd7471b4245a6d1f2de344e7adf ("x86/mm: Rework lazy TLB
> > to track the actual loaded mm")
> >
On Sat, May 27, 2017 at 06:57:38PM +0300, Andy Shevchenko wrote:
> On Fri, May 26, 2017 at 7:09 PM, Mika Westerberg
> wrote:
> > The device DROM contains name of the vendor and device among other
> > things. Extract this information and expose it to the userspace
On Sat, May 27, 2017 at 06:57:38PM +0300, Andy Shevchenko wrote:
> On Fri, May 26, 2017 at 7:09 PM, Mika Westerberg
> wrote:
> > The device DROM contains name of the vendor and device among other
> > things. Extract this information and expose it to the userspace via two
> > new attributes.
>
>
On Sat, May 27, 2017 at 06:45:24PM +0300, Andy Shevchenko wrote:
> On Fri, May 26, 2017 at 7:09 PM, Mika Westerberg
> wrote:
> > Thunderbolt domain consists of switches that are connected to each
> > other, forming a bus. This will convert each switch into a real
On Sat, May 27, 2017 at 06:45:24PM +0300, Andy Shevchenko wrote:
> On Fri, May 26, 2017 at 7:09 PM, Mika Westerberg
> wrote:
> > Thunderbolt domain consists of switches that are connected to each
> > other, forming a bus. This will convert each switch into a real Linux
> > device structure and
On Fri, May 26, 2017 at 01:17:12PM -0700, Kees Cook wrote:
> The NIU ethernet driver intentionally stores a page struct pointer on
> top of the "mapping" field. Whitelist this case:
>
> drivers/net/ethernet/sun/niu.c: In function ‘niu_rx_pkt_ignore’:
> drivers/net/ethernet/sun/niu.c:3402:10:
On Fri, May 26, 2017 at 01:17:12PM -0700, Kees Cook wrote:
> The NIU ethernet driver intentionally stores a page struct pointer on
> top of the "mapping" field. Whitelist this case:
>
> drivers/net/ethernet/sun/niu.c: In function ‘niu_rx_pkt_ignore’:
> drivers/net/ethernet/sun/niu.c:3402:10:
On Sat, May 27, 2017 at 06:41:28PM +0300, Andy Shevchenko wrote:
> On Fri, May 26, 2017 at 7:09 PM, Mika Westerberg
> wrote:
> > Following the usual pattern used in many places, we allow passing NULL
> > pointer to tb_ctl_free(). Then the user can call the
On Sat, May 27, 2017 at 06:41:28PM +0300, Andy Shevchenko wrote:
> On Fri, May 26, 2017 at 7:09 PM, Mika Westerberg
> wrote:
> > Following the usual pattern used in many places, we allow passing NULL
> > pointer to tb_ctl_free(). Then the user can call the function regardless
> > if it has
What about the untested patch below to just fix the issue?
---
>From e9eb519c854d2f3d16a4def492577a883246e290 Mon Sep 17 00:00:00 2001
From: Christoph Hellwig
Date: Sun, 28 May 2017 11:03:34 +0300
Subject: security/keys: don't cast union key_payload
Instead store the individual
What about the untested patch below to just fix the issue?
---
>From e9eb519c854d2f3d16a4def492577a883246e290 Mon Sep 17 00:00:00 2001
From: Christoph Hellwig
Date: Sun, 28 May 2017 11:03:34 +0300
Subject: security/keys: don't cast union key_payload
Instead store the individual pointers in
On Fri, May 26, 2017 at 01:17:10PM -0700, Kees Cook wrote:
> This is another false positive in bad cast detection:
>
> net/unix/af_unix.c: In function ‘unix_skb_scm_eq’:
> net/unix/af_unix.c:1621:31: note: found mismatched rhs struct pointer types:
> ‘struct unix_skb_parms’ and ‘char’
>
>
On Fri, May 26, 2017 at 01:17:10PM -0700, Kees Cook wrote:
> This is another false positive in bad cast detection:
>
> net/unix/af_unix.c: In function ‘unix_skb_scm_eq’:
> net/unix/af_unix.c:1621:31: note: found mismatched rhs struct pointer types:
> ‘struct unix_skb_parms’ and ‘char’
>
>
On Fri, May 26, 2017 at 01:17:05PM -0700, Kees Cook wrote:
> When the call to nfs_devname() fails, the error path attempts to retain
> the error via the mnt variable, but this requires a cast across very
> different types (char * to struct vfsmount *), which the upcoming
> structure layout
On Fri, May 26, 2017 at 01:17:05PM -0700, Kees Cook wrote:
> When the call to nfs_devname() fails, the error path attempts to retain
> the error via the mnt variable, but this requires a cast across very
> different types (char * to struct vfsmount *), which the upcoming
> structure layout
On Fri, May 26, 2017 at 02:22:35PM -0700, Matthias Kaehlcke wrote:
> This fixes the following warning when building with clang:
>
> block/cfq-iosched.c:449:1: error: unused function 'cfq_clear_cfqq_sync'
> [-Werror,-Wunused-function]
>
> Signed-off-by: Matthias Kaehlcke
On Fri, May 26, 2017 at 02:22:35PM -0700, Matthias Kaehlcke wrote:
> This fixes the following warning when building with clang:
>
> block/cfq-iosched.c:449:1: error: unused function 'cfq_clear_cfqq_sync'
> [-Werror,-Wunused-function]
>
> Signed-off-by: Matthias Kaehlcke
Matthias,
The right fix is to get rid of the idiotic dispatch table entirely,
something like the minimally tested patch below:
---
>From e8046f6507c2ed60bc501a0c0caa5a3f15f5e3e4 Mon Sep 17 00:00:00 2001
From: Christoph Hellwig
Date: Sun, 28 May 2017 09:53:45 +0300
Subject: acpi: get rid of
The right fix is to get rid of the idiotic dispatch table entirely,
something like the minimally tested patch below:
---
>From e8046f6507c2ed60bc501a0c0caa5a3f15f5e3e4 Mon Sep 17 00:00:00 2001
From: Christoph Hellwig
Date: Sun, 28 May 2017 09:53:45 +0300
Subject: acpi: get rid of
OneWire bus have very fast algorith for exchange with single slave
device. Fix incorrect count of slave devices on connect second slave
device. This case on probe() step we need use generic (multislave)
functions for read/write slave device.
Signed-off-by: Alex A. Mihaylov
OneWire bus have very fast algorith for exchange with single slave
device. Fix incorrect count of slave devices on connect second slave
device. This case on probe() step we need use generic (multislave)
functions for read/write slave device.
Signed-off-by: Alex A. Mihaylov
---
drivers/w1/w1.c |
Add support Maxim Semiconductor MAX17211/MAX17215 OneWire family 0x26
Signed-off-by: Alex A. Mihaylov
---
drivers/w1/slaves/Kconfig | 12 +
drivers/w1/slaves/Makefile | 1 +
drivers/w1/slaves/w1_max1721x.c | 73
Add support for battery monitor MAX1721x chips (power_supply class).
Maxim Semiconductor MAX1721x Standalone Fuel Gauge battery monitor.
MAX17211 used for singlecell batteryes, MAX17215 for multicell.
Signed-off-by: Alex A. Mihaylov
---
drivers/power/supply/Kconfig
Add basic support regmap (register map access) API for OneWire (W1) bus
Signed-off-by: Alex A. Mihaylov
---
drivers/base/regmap/Kconfig | 6 +-
drivers/base/regmap/Makefile| 1 +
drivers/base/regmap/regmap-w1.c | 241
regmap: Add OneWire (W1) bus support
w1: Add Maxim Semiconductor MAX1721X W1 slave drivers
power: supply: Add support MAX1721x battery monitor
drivers/base/regmap/Kconfig | 6 +-
drivers/base/regmap/Makefile| 1 +
drivers/base/regmap/regmap-w1.c | 241
Add support Maxim Semiconductor MAX17211/MAX17215 OneWire family 0x26
Signed-off-by: Alex A. Mihaylov
---
drivers/w1/slaves/Kconfig | 12 +
drivers/w1/slaves/Makefile | 1 +
drivers/w1/slaves/w1_max1721x.c | 73
drivers/w1/slaves/w1_max1721x.h |
Add support for battery monitor MAX1721x chips (power_supply class).
Maxim Semiconductor MAX1721x Standalone Fuel Gauge battery monitor.
MAX17211 used for singlecell batteryes, MAX17215 for multicell.
Signed-off-by: Alex A. Mihaylov
---
drivers/power/supply/Kconfig| 14 ++
Add basic support regmap (register map access) API for OneWire (W1) bus
Signed-off-by: Alex A. Mihaylov
---
drivers/base/regmap/Kconfig | 6 +-
drivers/base/regmap/Makefile| 1 +
drivers/base/regmap/regmap-w1.c | 241
include/linux/regmap.h
regmap: Add OneWire (W1) bus support
w1: Add Maxim Semiconductor MAX1721X W1 slave drivers
power: supply: Add support MAX1721x battery monitor
drivers/base/regmap/Kconfig | 6 +-
drivers/base/regmap/Makefile| 1 +
drivers/base/regmap/regmap-w1.c | 241
Tetsuo Handa wrote:
> Changes from v7 [11]:
>
> (1) Reflect review comments from Andrew Morton. (Convert "u8 type" to
> "bool report", use CPUHP_PAGE_ALLOC_DEAD event and replace
> for_each_possible_cpu() with for_each_online_cpu(), reuse existing
> rcu_lock_break() and
Tetsuo Handa wrote:
> Changes from v7 [11]:
>
> (1) Reflect review comments from Andrew Morton. (Convert "u8 type" to
> "bool report", use CPUHP_PAGE_ALLOC_DEAD event and replace
> for_each_possible_cpu() with for_each_online_cpu(), reuse existing
> rcu_lock_break() and
From: Noam Camus
The reasons are:
1) speeding up boot time, becomes critical for many CPUs machine,
e.g. NPS400 with 4K CPUs
2) shorten kernel log at boot time, again easy to scan for large
scale machines such NPS400
Signed-off-by: Noam Camus
---
From: Noam Camus
Change Log
---
v1 --> v2:
Outcome of Alexey Brodkin comments
1) Turned mem_service into weak symbol, so it can be override
by any platform
2) remove ifedf wrapper on '88' lable at assembly of TLB exception.
With this patch set I continue the effort
301 - 400 of 426 matches
Mail list logo