Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1562580

Re: [PATCH 2/2] of: Add function for generating a DT modalias with a newline

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] of: Add function for generating a DT modalias with a newline
Date 2017-01-19 11:40 +0100
Message-ID <t1iil-n0-9@gated-at.bofh.it> (permalink)
References <t0mo1-5OK-3@gated-at.bofh.it> <t0mo2-5OK-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jan 16, 2017 at 02:41:22PM -0600, Rob Herring wrote:
> The modalias sysfs attr is lacking a newline for DT aliases on platform
> devices. The macio and ibmebus correctly add the newline, but open code it.
> Introduce a new function, of_device_modalias(), that fills the buffer with
> the modalias including the newline and update users of the old
> of_device_get_modalias function.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> Cc: Paul Mackerras <paulus@samba.org>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: Frank Rowand <frowand.list@gmail.com>
> Cc: linuxppc-dev@lists.ozlabs.org


Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] of: fix of_device_get_modalias returned length when truncating buffers Rob Herring <robh@kernel.org> - 2017-01-16 21:50 +0100
  [PATCH 2/2] of: Add function for generating a DT modalias with a newline Rob Herring <robh@kernel.org> - 2017-01-16 21:50 +0100
    Re: [PATCH 2/2] of: Add function for generating a DT modalias with a  newline Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-01-19 11:40 +0100

csiph-web