[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <50840b08-5735-f63b-91b7-a7117a25d3da@linuxfoundation.org>
Date: Thu, 24 Jun 2021 07:12:58 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: David Gow <davidgow@...gle.com>,
Brendan Higgins <brendanhiggins@...gle.com>
Cc: Mika Westerberg <mika.westerberg@...ux.intel.com>,
linux-usb@...r.kernel.org, kunit-dev@...glegroups.com,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel test robot <lkp@...el.com>,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH kunit-next] thunderbolt: test: Reinstate a few casts of
bitfields
On 6/24/21 2:48 AM, David Gow wrote:
> Partially revert "thunderbolt: test: Remove some casts which are no
> longer required". It turns out that typeof() doesn't support bitfields,
> so these still need to be cast to the appropriate enum.
>
> The only mention of typeof() and bitfields I can find is in the proposal
> to standardise them:
> http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2619.htm
>
> This was caught by the kernel test robot:
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org/thread/FDKBHAV7QNLNFU5NBI2RKV56DWDSOLGM/
>
> Fixes: 8f0877c26e ("thunderbolt: test: Remove some casts which are no longer required")
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: David Gow <davidgow@...gle.com>
> ---
>
> Whoops: I didn't notice this was broken earlier. If it's easier to just
> revert the broken patch, that's fine, too.
>
Thanks for fixing this quickly. I will apply this on top of the broken
patch.
thanks,
-- Shuah
Powered by blists - more mailing lists