mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] common: state: fix alignment
@ 2019-01-04 15:16 Roland Hieber
  2019-01-07  7:41 ` Sascha Hauer
  2019-01-07 14:43 ` [PATCH] common: state: fix another alignment Roland Hieber
  0 siblings, 2 replies; 4+ messages in thread
From: Roland Hieber @ 2019-01-04 15:16 UTC (permalink / raw)
  To: barebox; +Cc: Roland Hieber

Fixes: 7126dffd0be ("common: state: Add variable_type to state_variable")
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 common/state/state_variables.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/state/state_variables.c b/common/state/state_variables.c
index 269d175874..50cffba700 100644
--- a/common/state/state_variables.c
+++ b/common/state/state_variables.c
@@ -132,7 +132,7 @@ static struct state_variable *state_uint8_create(struct state *state,
 static struct state_variable *state_uint32_create(struct state *state,
 						  const char *name,
 						  struct device_node *node,
-					      const struct variable_type *vtype)
+						  const struct variable_type *vtype)
 {
 	struct state_uint32 *su32;
 	struct param_d *param;
@@ -223,7 +223,7 @@ static int state_enum32_import(struct state_variable *sv,
 static struct state_variable *state_enum32_create(struct state *state,
 						  const char *name,
 						  struct device_node *node,
-					      const struct variable_type *vtype)
+						  const struct variable_type *vtype)
 {
 	struct state_enum32 *enum32;
 	int ret, i, num_names;
@@ -307,7 +307,7 @@ static int state_mac_import(struct state_variable *sv, struct device_node *node)
 static struct state_variable *state_mac_create(struct state *state,
 					       const char *name,
 					       struct device_node *node,
-					      const struct variable_type *vtype)
+					       const struct variable_type *vtype)
 {
 	struct state_mac *mac;
 	int ret;
@@ -409,7 +409,7 @@ static int state_string_get(struct param_d *p, void *priv)
 static struct state_variable *state_string_create(struct state *state,
 						  const char *name,
 						  struct device_node *node,
-					      const struct variable_type *vtype)
+						  const struct variable_type *vtype)
 {
 	struct state_string *string;
 	uint32_t start_size[2];
-- 
2.19.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] common: state: fix alignment
  2019-01-04 15:16 [PATCH] common: state: fix alignment Roland Hieber
@ 2019-01-07  7:41 ` Sascha Hauer
  2019-01-07 14:43 ` [PATCH] common: state: fix another alignment Roland Hieber
  1 sibling, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2019-01-07  7:41 UTC (permalink / raw)
  To: Roland Hieber; +Cc: barebox

On Fri, Jan 04, 2019 at 04:16:44PM +0100, Roland Hieber wrote:
> Fixes: 7126dffd0be ("common: state: Add variable_type to state_variable")
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  common/state/state_variables.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/common/state/state_variables.c b/common/state/state_variables.c
> index 269d175874..50cffba700 100644
> --- a/common/state/state_variables.c
> +++ b/common/state/state_variables.c
> @@ -132,7 +132,7 @@ static struct state_variable *state_uint8_create(struct state *state,
>  static struct state_variable *state_uint32_create(struct state *state,
>  						  const char *name,
>  						  struct device_node *node,
> -					      const struct variable_type *vtype)
> +						  const struct variable_type *vtype)
>  {
>  	struct state_uint32 *su32;
>  	struct param_d *param;
> @@ -223,7 +223,7 @@ static int state_enum32_import(struct state_variable *sv,
>  static struct state_variable *state_enum32_create(struct state *state,
>  						  const char *name,
>  						  struct device_node *node,
> -					      const struct variable_type *vtype)
> +						  const struct variable_type *vtype)
>  {
>  	struct state_enum32 *enum32;
>  	int ret, i, num_names;
> @@ -307,7 +307,7 @@ static int state_mac_import(struct state_variable *sv, struct device_node *node)
>  static struct state_variable *state_mac_create(struct state *state,
>  					       const char *name,
>  					       struct device_node *node,
> -					      const struct variable_type *vtype)
> +					       const struct variable_type *vtype)
>  {
>  	struct state_mac *mac;
>  	int ret;
> @@ -409,7 +409,7 @@ static int state_string_get(struct param_d *p, void *priv)
>  static struct state_variable *state_string_create(struct state *state,
>  						  const char *name,
>  						  struct device_node *node,
> -					      const struct variable_type *vtype)
> +						  const struct variable_type *vtype)
>  {
>  	struct state_string *string;
>  	uint32_t start_size[2];
> -- 
> 2.19.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] common: state: fix another alignment
  2019-01-04 15:16 [PATCH] common: state: fix alignment Roland Hieber
  2019-01-07  7:41 ` Sascha Hauer
@ 2019-01-07 14:43 ` Roland Hieber
  2019-01-08 15:18   ` Sascha Hauer
  1 sibling, 1 reply; 4+ messages in thread
From: Roland Hieber @ 2019-01-07 14:43 UTC (permalink / raw)
  To: barebox; +Cc: Roland Hieber

Fixes: 7126dffd0be ("common: state: Add variable_type to state_variable")
Fixes: 6096a0cfa4a ("common: state: fix alignment")
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 common/state/state_variables.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/state/state_variables.c b/common/state/state_variables.c
index 50cffba700..6a00c82203 100644
--- a/common/state/state_variables.c
+++ b/common/state/state_variables.c
@@ -102,7 +102,7 @@ static int state_uint8_set(struct param_d *p, void *priv)
 static struct state_variable *state_uint8_create(struct state *state,
 						 const char *name,
 						 struct device_node *node,
-					      const struct variable_type *vtype)
+						 const struct variable_type *vtype)
 {
 	struct state_uint32 *su32;
 	struct param_d *param;
-- 
2.19.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] common: state: fix another alignment
  2019-01-07 14:43 ` [PATCH] common: state: fix another alignment Roland Hieber
@ 2019-01-08 15:18   ` Sascha Hauer
  0 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2019-01-08 15:18 UTC (permalink / raw)
  To: Roland Hieber; +Cc: barebox

On Mon, Jan 07, 2019 at 03:43:33PM +0100, Roland Hieber wrote:
> Fixes: 7126dffd0be ("common: state: Add variable_type to state_variable")
> Fixes: 6096a0cfa4a ("common: state: fix alignment")
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  common/state/state_variables.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/common/state/state_variables.c b/common/state/state_variables.c
> index 50cffba700..6a00c82203 100644
> --- a/common/state/state_variables.c
> +++ b/common/state/state_variables.c
> @@ -102,7 +102,7 @@ static int state_uint8_set(struct param_d *p, void *priv)
>  static struct state_variable *state_uint8_create(struct state *state,
>  						 const char *name,
>  						 struct device_node *node,
> -					      const struct variable_type *vtype)
> +						 const struct variable_type *vtype)
>  {
>  	struct state_uint32 *su32;
>  	struct param_d *param;
> -- 
> 2.19.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-08 15:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-04 15:16 [PATCH] common: state: fix alignment Roland Hieber
2019-01-07  7:41 ` Sascha Hauer
2019-01-07 14:43 ` [PATCH] common: state: fix another alignment Roland Hieber
2019-01-08 15:18   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox