All of lore.kernel.org
 help / color / mirror / Atom feed
* Warning fixes for clang + x86_64 allmodconfig on 5.10 and 5.4
@ 2022-05-10 17:49 Nathan Chancellor
  2022-05-12 13:36 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Nathan Chancellor @ 2022-05-10 17:49 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Sasha Levin; +Cc: stable, Nick Desaulniers, Tom Rix, llvm

Hi Greg and Sasha,

A recent change in LLVM [1] strengthened -Wenum-conversion, which
revealed a couple of instances in 5.10 and 5.4 (the oldest release that
I personally build test). They are fixed with the following changes,
please consider applying them wherever they apply cleanly (I have
included the release they first appeared in):

1f1e87b4dc45 ("block: drbd: drbd_nl: Make conversion to 'enum drbd_ret_code' explicit") [5.13]
353f7f3a9dd5 ("drm/amd/display/dc/gpio/gpio_service: Pass around correct dce_{version, environment} types") [5.14]

Since I am here already, please consider applying the following
additional changes where they cleanly apply, as they resolve other
warnings present in x86_64 allmodconfig with clang:

7bf03e7504e4 ("drm/i915: Cast remain to unsigned long in eb_relocate_vma") [5.8]
8a64ef042eab ("nfp: bpf: silence bitwise vs. logical OR warning") [5.15]

If there are any problems or questions, please let me know!

[1]: https://github.com/llvm/llvm-project/commit/882915df61e33f3a2b7f58e52f572717e1c11499

Cheers,
Nathan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Warning fixes for clang + x86_64 allmodconfig on 5.10 and 5.4
  2022-05-10 17:49 Warning fixes for clang + x86_64 allmodconfig on 5.10 and 5.4 Nathan Chancellor
@ 2022-05-12 13:36 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2022-05-12 13:36 UTC (permalink / raw)
  To: Nathan Chancellor; +Cc: Sasha Levin, stable, Nick Desaulniers, Tom Rix, llvm

On Tue, May 10, 2022 at 10:49:16AM -0700, Nathan Chancellor wrote:
> Hi Greg and Sasha,
> 
> A recent change in LLVM [1] strengthened -Wenum-conversion, which
> revealed a couple of instances in 5.10 and 5.4 (the oldest release that
> I personally build test). They are fixed with the following changes,
> please consider applying them wherever they apply cleanly (I have
> included the release they first appeared in):
> 
> 1f1e87b4dc45 ("block: drbd: drbd_nl: Make conversion to 'enum drbd_ret_code' explicit") [5.13]
> 353f7f3a9dd5 ("drm/amd/display/dc/gpio/gpio_service: Pass around correct dce_{version, environment} types") [5.14]
> 
> Since I am here already, please consider applying the following
> additional changes where they cleanly apply, as they resolve other
> warnings present in x86_64 allmodconfig with clang:
> 
> 7bf03e7504e4 ("drm/i915: Cast remain to unsigned long in eb_relocate_vma") [5.8]
> 8a64ef042eab ("nfp: bpf: silence bitwise vs. logical OR warning") [5.15]
> 
> If there are any problems or questions, please let me know!
> 
> [1]: https://github.com/llvm/llvm-project/commit/882915df61e33f3a2b7f58e52f572717e1c11499

All now queued up, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-12 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10 17:49 Warning fixes for clang + x86_64 allmodconfig on 5.10 and 5.4 Nathan Chancellor
2022-05-12 13:36 ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.