lkml.org 
[lkml]   [2023]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] bus: ti-sysc: Fix build warning for 64-bit build
* Nishanth Menon <nm@ti.com> [230805 17:23]:
> On 10:47-20230805, Dhruva Gole wrote:
> > On Aug 04, 2023 at 13:38:57 +0300, Tony Lindgren wrote:
> > > match = soc_device_match(sysc_soc_match);
> > > if (match && match->data)
> > > - sysc_soc->soc = (int)match->data;
> > > + sysc_soc->soc = (unsigned long)match->data;
> >
> > Reviewed-by: Dhruva Gole <d-gole@ti.com>
>
> Dumb q: is'nt this an enum? Is it better to cast it as (enum
> sysc_soc)match->data ?

Good idea, will update.

Regards,

Tony

\
 
 \ /
  Last update: 2023-08-09 09:30    [W:0.043 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site