From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v7 10/44] [media] media: rename the function that create pad links
Date: Fri, 28 Aug 2015 13:08:02 +0000 [thread overview]
Message-ID: <20150828100802.6e626e4c@recife.lan> (raw)
In-Reply-To: <20150826115403.7a794597@recife.lan>
Em Wed, 26 Aug 2015 11:54:03 -0300
Mauro Carvalho Chehab <mchehab@osg.samsung.com> escreveu:
> Em Tue, 25 Aug 2015 12:55:41 -0600
> Shuah Khan <shuahkh@osg.samsung.com> escreveu:
>
> > On 08/23/2015 02:17 PM, Mauro Carvalho Chehab wrote:
> > > Now that a link can be either between two different graph
> > > objects, we'll need to add more functions to create links.
> >
> > Is this an incomplete sentence. Should it read: "either between
> > two different graph objects or two pads" ?
>
> That would be redundant, as pad is a graph object ;)
Renamed the patch description to:
With the new API, a link can be either between two PADs or between an interface
and an entity. So, we need to use a better name for the function that create
links between two pads.
So, rename the such function to media_create_pad_link().
No functional changes.
This patch was created via this shell script:
for i in $(find drivers/media -name '*.[ch]' -type f) $(find drivers/staging/media -name '*.[ch]' -type f) $(find include/ -name '*.h' -type f) ; do sed s,media_entity_create_link,media_create_pad_link,g <$i >a && mv a $i; done
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Regards,
Mauro
>
> >
> > > So, rename the existing one that create links only between
> > > two pads as media_create_pad_link().
> >
> > >
> > > No functional changes.
> > >
> > > This patch was created via this shell script:
> > > for i in $(find drivers/media -name '*.[ch]' -type f) $(find drivers/staging/media -name '*.[ch]' -type f) $(find include/ -name '*.h' -type f) ; do sed s,media_entity_create_link,media_create_pad_link,g <$i >a && mv a $i; done
> > >
> >
> > Didn't want to experiment with Coccinelle?? :)
>
> I use Coccinelle, but only when I need more complex changes, as
> Coccinelle may mangle with comments.
>
> >
> > > Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
> > > Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
> > > Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
> > >
> >
> > Changes look good to me. After fixing the commit log:
> >
> > Acked-by: Shuah Khan <shuahkh@osg.samsung.com>
> >
> > thanks,
> > -- Shuah
> >
> >
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-08-28 13:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1440359643.git.mchehab@osg.samsung.com>
2015-08-23 20:17 ` [PATCH v7 01/44] [media] media: create a macro to get entity ID Mauro Carvalho Chehab
2015-08-24 17:24 ` Shuah Khan
2015-08-24 18:00 ` Mauro Carvalho Chehab
2015-08-23 20:17 ` [PATCH v7 10/44] [media] media: rename the function that create pad links Mauro Carvalho Chehab
2015-08-25 18:55 ` Shuah Khan
2015-08-26 14:54 ` Mauro Carvalho Chehab
2015-08-28 13:08 ` Mauro Carvalho Chehab [this message]
2015-08-23 20:17 ` [PATCH v7 11/44] [media] media: use entity.graph_obj.mdev instead of .parent Mauro Carvalho Chehab
2015-08-25 6:36 ` Hans Verkuil
2015-08-25 19:25 ` Shuah Khan
2015-08-26 14:59 ` Mauro Carvalho Chehab
2015-08-23 20:17 ` [PATCH v7 28/44] [media] media: use macros to check for V4L2 subdev entities Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150828100802.6e626e4c@recife.lan \
--to=mchehab@infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).