Re: [RFC PATCH 03/22] thunderbolt: Log warning if adding switch fails

2019-10-01 Thread Mika Westerberg
On Tue, Oct 01, 2019 at 02:18:04PM +0200, Greg Kroah-Hartman wrote: > On Tue, Oct 01, 2019 at 02:38:11PM +0300, Mika Westerberg wrote: > > If we fail to add a switch for some reason log a warning with the error > > code. This is useful for debugging. > > > > Signed-off-by: Mika Westerberg > >

Re: [RFC PATCH 03/22] thunderbolt: Log warning if adding switch fails

2019-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2019 at 02:38:11PM +0300, Mika Westerberg wrote: > If we fail to add a switch for some reason log a warning with the error > code. This is useful for debugging. > > Signed-off-by: Mika Westerberg > --- > drivers/thunderbolt/tb.c | 5 - > 1 file changed, 4 insertions(+), 1

[RFC PATCH 03/22] thunderbolt: Log warning if adding switch fails

2019-10-01 Thread Mika Westerberg
If we fail to add a switch for some reason log a warning with the error code. This is useful for debugging. Signed-off-by: Mika Westerberg --- drivers/thunderbolt/tb.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/thunderbolt/tb.c b/drivers/thunderbolt/tb.c