Re: [PATCH v2 07/10] thunderbolt: test: Remove sone casts which are no longer required

From: Shuah Khan
Date: Fri May 14 2021 - 15:57:28 EST


On 5/14/21 1:27 AM, David Gow wrote:
On Fri, May 14, 2021 at 2:08 PM Mika Westerberg
<mika.westerberg@xxxxxxxxxxxxxxx> wrote:

Hi,

On Thu, May 13, 2021 at 12:32:01PM -0700, David Gow wrote:
With some of the stricter type checking in KUnit's EXPECT macros
removed, several casts in the thunderbolt KUnit tests are no longer
required.

Remove the unnecessary casts, making the conditions clearer.

Signed-off-by: David Gow <davidgow@xxxxxxxxxx>

Looks good.

Does this go through KUnit tree or you want me to take it? In case of
the former feel free to add:

Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>


Thanks. I think it's probably easier for this to go in via the KUnit
tree, unless Brendan or Shuah have any objections.


It is fine either way unless there are dependencies on the KUnit
tree. I can take this in through KUnit once Brendan looks at it.

thanks,
-- Shuah