From: Daniel Axtens <hidden> Date: 2015-07-29 04:09:33
Previously, when attaching a context in dedicated mode, we ignored
the result of add_process_element, which could potentially fail.
If add_process_element returns and error, pass it back to the caller.
Signed-off-by: Daniel Axtens <redacted>
---
I'm not sure if this is worth sending to stable: it doesn't fix
any actual bug, it just lets us know earlier if we've failed.
However, if mpe, Mikey or Ian feel like it should go to stable I
have no objection to that either.
---
drivers/misc/cxl/native.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2015-07-29 04:25:32
On Wed, 2015-07-29 at 14:07 +1000, Daniel Axtens wrote:
Previously, when attaching a context in dedicated mode, we ignored
Previously? You mean currently? Now is before this patch is applied.
the result of add_process_element, which could potentially fail.
If add_process_element returns and error, pass it back to the caller.
^
I can fix.
Signed-off-by: Daniel Axtens <redacted>
---
I'm not sure if this is worth sending to stable: it doesn't fix
any actual bug, it just lets us know earlier if we've failed.
However, if mpe, Mikey or Ian feel like it should go to stable I
have no objection to that either.
stable_kernel_rules.txt says:
- It must fix a real bug that bothers people (not a, "This could be a
problem..." type thing).
So I think not. But rules are flexible so I can be convinced otherwise if
anyone has a good argument.
cheers
From: Daniel Axtens <hidden> Date: 2015-07-29 04:42:37
On Wed, 2015-07-29 at 14:25 +1000, Michael Ellerman wrote:
On Wed, 2015-07-29 at 14:07 +1000, Daniel Axtens wrote:
quoted
Previously, when attaching a context in dedicated mode, we ignored
Previously? You mean currently? Now is before this patch is applied.
I do mean currently. Apologies for the temporal confusion :)
quoted
the result of add_process_element, which could potentially fail.
If add_process_element returns and error, pass it back to the caller.
^
I can fix.
Many thanks: it's good to know that my spelling mistakes will only be
immortalised in the list archives rather than in the kernel's git
history. :p
--
Regards,
Daniel
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2015-08-10 09:27:01
On Wed, 2015-29-07 at 04:07:22 UTC, Daniel Axtens wrote:
Previously, when attaching a context in dedicated mode, we ignored
the result of add_process_element, which could potentially fail.
If add_process_element returns and error, pass it back to the caller.
Signed-off-by: Daniel Axtens <redacted>