Re: [PATCH] yavta: Format type errors for non x86 arches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



@Laurent Pinchart

Friendly Ping :)

On Wed, Sep 20, 2023 at 10:06 PM Sakari Ailus <sakari.ailus@xxxxxx> wrote:
>
> Hi Ricardo,
>
> Thanks for the update.
>
> On Wed, Sep 20, 2023 at 02:59:39PM +0200, Ricardo Ribalda wrote:
> > mipsel64el, ppc64el, ia64, ppc64, sparc64 and x32 have different lenghts
> > for long long ints, which result in some compilation errors.
> >
> > Lets add some castings and inttypes macros to help the compiler deal with
> > this.
> >
> > We have to use the castings, because kernel types (__u64 et al) does not
> > seem to be compatible with inttypes macros.
> >
> > Signed-off-by: Ricardo Ribalda <ricardo@xxxxxxxxxxx>
>
> It'd be great to address this in the kernel. The kernel UAPI integer types
> have been around for a very long time so there could be issues in doing
> that, too.
>
> Reviewed-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
>
> --
> Kind regards,
>
> Sakari Ailus




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux