From: Sascha Hauer <s.hauer@pengutronix.de>
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] state: use name of device node as name, if alias is not available
Date: Mon, 6 Jul 2015 06:37:05 +0200 [thread overview]
Message-ID: <20150706043705.GM18700@pengutronix.de> (raw)
In-Reply-To: <1435924181-28078-1-git-send-email-mkl@pengutronix.de>
On Fri, Jul 03, 2015 at 01:49:41PM +0200, Marc Kleine-Budde wrote:
> Wihtout this patch, when using more than one state device an alias is
> mandatory, otherwise the there will be two state devices with the name state.
Are there really two devices? I hope there's a -EEXIST somewhere...
>
> This patch fixes the limitation by using the device node's name if no alias is
> defined.
The node name is not necessarily unique. Also you might end up with
state names like "state@0" which probably also is not what we want.
Maybe making the alias mandatory for multiple state devices is not the
worst behaviour.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2015-07-06 4:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-03 11:49 Marc Kleine-Budde
2015-07-06 4:37 ` Sascha Hauer [this message]
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=20150706043705.GM18700@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=mkl@pengutronix.de \
/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