[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230809072720.GC11676@atomide.com>
Date: Wed, 9 Aug 2023 10:27:20 +0300
From: Tony Lindgren <tony@...mide.com>
To: Nishanth Menon <nm@...com>
Cc: Dhruva Gole <d-gole@...com>, linux-omap@...r.kernel.org,
Dave Gerlach <d-gerlach@...com>,
Faiz Abbas <faiz_abbas@...com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Keerthy <j-keerthy@...com>, Kevin Hilman <khilman@...libre.com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 1/3] bus: ti-sysc: Fix build warning for 64-bit build
* Nishanth Menon <nm@...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@...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
Powered by blists - more mailing lists