All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <55CE02EE.7030407@xs4all.nl>

diff --git a/a/1.txt b/N1/1.txt
index 5bd0061..d2f2a09 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -22,15 +22,15 @@ Regards,
 >  	spin_lock(&mdev->lock);
 >  
 >  	media_device_for_each_entity(entity, mdev) {
-> -		if ((entity->id = id && !next) ||
+> -		if ((entity->id == id && !next) ||
 > -		    (entity->id > id && next)) {
-> +		if (((entity_id(entity) = id) && !next) ||
+> +		if (((entity_id(entity) == id) && !next) ||
 > +		    ((entity_id(entity) > id) && next)) {
 >  			spin_unlock(&mdev->lock);
 >  			return entity;
 >  		}
 > @@ -102,7 +102,7 @@ static long media_device_enum_entities(struct media_device *mdev,
->  	if (ent = NULL)
+>  	if (ent == NULL)
 >  		return -EINVAL;
 >  
 > -	u_ent.id = ent->id;
@@ -94,7 +94,7 @@ Regards,
 > +		entities |= 1 << entity_id(&entity->subdev.entity);
 >  
 >  		/* UDS can't be chained. */
->  		if (entity->type = VSP1_ENTITY_UDS) {
+>  		if (entity->type == VSP1_ENTITY_UDS) {
 > diff --git a/include/media/media-entity.h b/include/media/media-entity.h
 > index 8b21a4d920d9..478d5cd56be9 100644
 > --- a/include/media/media-entity.h
diff --git a/a/content_digest b/N1/content_digest
index 506b06f..249fa95 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,8 +1,13 @@
+ "ref\0cover.1439563682.git.mchehab@osg.samsung.com\0"
  "ref\089205b71de7a6edc3638eb14df8d0b0e4df32bc2.1439563682.git.mchehab@osg.samsung.com\0"
  "From\0Hans Verkuil <hverkuil@xs4all.nl>\0"
  "Subject\0Re: [PATCH v4 2/6] media: create a macro to get entity ID\0"
- "Date\0Fri, 14 Aug 2015 15:02:06 +0000\0"
- "To\0linux-sh@vger.kernel.org\0"
+ "Date\0Fri, 14 Aug 2015 17:02:06 +0200\0"
+ "To\0Mauro Carvalho Chehab <mchehab@osg.samsung.com>"
+ " Linux Media Mailing List <linux-media@vger.kernel.org>\0"
+ "Cc\0Mauro Carvalho Chehab <mchehab@infradead.org>"
+  Laurent Pinchart <laurent.pinchart@ideasonboard.com>
+ " linux-sh@vger.kernel.org\0"
  "\00:1\0"
  "b\0"
  "On 08/14/2015 04:56 PM, Mauro Carvalho Chehab wrote:\n"
@@ -29,15 +34,15 @@
  ">  \tspin_lock(&mdev->lock);\n"
  ">  \n"
  ">  \tmedia_device_for_each_entity(entity, mdev) {\n"
- "> -\t\tif ((entity->id = id && !next) ||\n"
+ "> -\t\tif ((entity->id == id && !next) ||\n"
  "> -\t\t    (entity->id > id && next)) {\n"
- "> +\t\tif (((entity_id(entity) = id) && !next) ||\n"
+ "> +\t\tif (((entity_id(entity) == id) && !next) ||\n"
  "> +\t\t    ((entity_id(entity) > id) && next)) {\n"
  ">  \t\t\tspin_unlock(&mdev->lock);\n"
  ">  \t\t\treturn entity;\n"
  ">  \t\t}\n"
  "> @@ -102,7 +102,7 @@ static long media_device_enum_entities(struct media_device *mdev,\n"
- ">  \tif (ent = NULL)\n"
+ ">  \tif (ent == NULL)\n"
  ">  \t\treturn -EINVAL;\n"
  ">  \n"
  "> -\tu_ent.id = ent->id;\n"
@@ -101,7 +106,7 @@
  "> +\t\tentities |= 1 << entity_id(&entity->subdev.entity);\n"
  ">  \n"
  ">  \t\t/* UDS can't be chained. */\n"
- ">  \t\tif (entity->type = VSP1_ENTITY_UDS) {\n"
+ ">  \t\tif (entity->type == VSP1_ENTITY_UDS) {\n"
  "> diff --git a/include/media/media-entity.h b/include/media/media-entity.h\n"
  "> index 8b21a4d920d9..478d5cd56be9 100644\n"
  "> --- a/include/media/media-entity.h\n"
@@ -117,4 +122,4 @@
  ">  void media_entity_cleanup(struct media_entity *entity);\n"
  >
 
-8529edbb2c372488b4b151138daff5b3eb06565daf61a7339cb9186346d27aff
+d8a96a33316bb193fafed163ebbf3246718244b7208cbb24e0d822dfe1ee8b92

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.