[PATCH] objtool: Do not retrieve data from empty sections

2017-09-15 Thread Josh Poimboeuf
From: Petr Vandrovec Binutils 2.29-9 in Debian return an error when elf_getdata is invoked on empty section (.note.GNU-stack in all kernel files), causing immediate failure of kernel build with: elf_getdata: can't manipulate null section As nothing is done with sections that have zero size, jus

Re: [PATCH] dt-bindings: RTC: add stericsson,coh901331 bindings

2017-09-15 Thread Linus Walleij
On Fri, Sep 15, 2017 at 2:19 AM, Alexandre Belloni wrote: > Add device tree bindings for the ST-Ericsson COH 901 331 Real Time Clock > > Signed-off-by: Alexandre Belloni Oh this was merged so far back in the day that we were even lax about adding bindings properly. Too bad, sorry about it. Rev

Re: [PATCH 3/3] powerpc/5200: dts: digsy_mtc.dts: fix rv3029 compatible

2017-09-15 Thread Anatolij Gustschin
On Fri, 15 Sep 2017 04:00:04 +0200 Alexandre Belloni alexandre.bell...@free-electrons.com wrote: >The proper compatible for rv3029 is microcrystal,rv3029. > >Signed-off-by: Alexandre Belloni Acked-by: Anatolij Gustschin

Re: + include-linux-sched-mmh-uninline-mmdrop_async-etc.patch added to -mm tree

2017-09-15 Thread Michal Hocko
On Fri 15-09-17 09:07:31, Michal Hocko wrote: > On Thu 14-09-17 13:19:38, Andrew Morton wrote: > > From: Andrew Morton > > Subject: include/linux/sched/mm.h: uninline mmdrop_async(), etc > > > > mmdrop_async() is only used in fork.c. Move that and its support > > functions into fork.c, uninline

Re: [PATCH] iio: dac: ds4422/ds4424 dac driver

2017-09-15 Thread Linus Walleij
On Thu, Sep 14, 2017 at 10:24 PM, Ismail Kose wrote: > +struct ds4424_pdata { > + const char *vcc_supply_name; Should not be needed at all, get the supply directly from the device tree. > + uint32_t rfs_res[DS4424_MAX_DAC_CHANNELS]; > + struct iio_map *dac_iio_map; > +}; Drop

[PATCH] block: move sanity checking ahead of bi_front/back_seg_size updating

2017-09-15 Thread Jianchao Wang
If the bio_integrity_merge_rq() return false or nr_phys_segments exceeds the max_segments, the merging fails, but the bi_front/back_seg_size may have been modified. To avoid it, move the sanity checking ahead. Signed-off-by: Jianchao Wang --- block/blk-merge.c | 16 ++-- 1 file chang

Re: BUG: Sporadic crashes with current Linus tree

2017-09-15 Thread Thomas Gleixner
On Thu, 14 Sep 2017, Andy Lutomirski wrote: > On Thu, Sep 14, 2017 at 9:00 AM, Thomas Gleixner wrote: > > On Thu, 14 Sep 2017, Andy Lutomirski wrote: > >> On Thu, Sep 14, 2017 at 12:38 AM, Thomas Gleixner > >> wrote: > >> > Hi! > >> > > >> > I've seen the following crash sporadically with commit

Re: [PATCH 2/3] ARM: dts: at91: usb_a9g20: fix rtc node

2017-09-15 Thread Nicolas Ferre
On 15/09/2017 at 04:00, Alexandre Belloni wrote: > The rv3029 compatible is missing its vendor string, add it. > Also fix the node name to be a proper generic name. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre > --- > arch/arm/boot/dts/usb_a9g20_common.dtsi | 4 ++-- > 1 file

Re: + include-linux-sched-mmh-uninline-mmdrop_async-etc.patch added to -mm tree

2017-09-15 Thread Michal Hocko
On Thu 14-09-17 13:19:38, Andrew Morton wrote: > From: Andrew Morton > Subject: include/linux/sched/mm.h: uninline mmdrop_async(), etc > > mmdrop_async() is only used in fork.c. Move that and its support > functions into fork.c, uninline it all. Is this really an improvement? Why do we want to

Re: [PATCH] mm/memcg: avoid page count check for zone device

2017-09-15 Thread Michal Hocko
On Thu 14-09-17 15:00:11, jgli...@redhat.com wrote: > From: Jérôme Glisse > > Fix for 4.14, zone device page always have an elevated refcount > of one and thus page count sanity check in uncharge_page() is > inappropriate for them. > > Signed-off-by: Jérôme Glisse > Reported-by: Evgeny Baskakov

<    1   2   3   4   5   6