Re: [PATCH 1/5] uapi/linux/media.h: add flags field to struct media_v2_topology

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

 



On Thu, Jun 11, 2020 at 06:12:26AM +0300, Laurent Pinchart wrote:
> > diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
> > index 383ac7b7d8f07eca..7c07b9939252c768 100644
> > --- a/include/uapi/linux/media.h
> > +++ b/include/uapi/linux/media.h
> > @@ -351,7 +351,7 @@ struct media_v2_topology {
> >  	__u64 topology_version;
> >  
> >  	__u32 num_entities;
> > -	__u32 reserved1;
> > +	__u32 flags;
> >  	__u64 ptr_entities;
> >  
> >  	__u32 num_interfaces;
> > @@ -367,6 +367,8 @@ struct media_v2_topology {
> >  	__u64 ptr_links;
> >  } __attribute__ ((packed));
> >  
> > +#define MEDIA_TOPOLOGY_FLAG_COMPLETE	(1 << 0)
> > +
> 
> Missing documentation :-)
> 
> Should we use the BIT() macro ?

No, it's uAPI.

-- 
Sakari Ailus



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux