[lkml]   [2019]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] mailbox: make cmd_dma a __le64 to reduce warnings
On 12/19/19 9:01 AM, Ben Dooks (Codethink) wrote:
> The cmd_dma of the brcm_sba_command is often set from the
> result of cpu_to_le64, which means it should really be an
> __le64 type to avoid warnings such as:

It actually is always set from the result of cpu_to_le64() which is why
this is the correct thing to do.

> drivers/dma/bcm-sba-raid.c:583:25: warning: incorrect type in assignment (different base types)
> drivers/dma/bcm-sba-raid.c:583:25: expected unsigned long long [usertype]
> drivers/dma/bcm-sba-raid.c:583:25: got restricted __le64 [usertype]
> Note, this header dos not seem to be covered by the maintainers
> file, so just sending to the normal lists.
> Signed-off-by: Ben Dooks (Codethink) <>

Reviewed-by: Florian Fainelli <>

 \ /
  Last update: 2019-12-19 22:59    [W:0.078 / U:3.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site