All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM:omap2: using strlcpy instead of strncpy
@ 2013-01-30 11:46 ` Chen Gang
  0 siblings, 0 replies; 22+ messages in thread
From: Chen Gang @ 2013-01-30 11:46 UTC (permalink / raw)
  To: tony, Russell King - ARM Linux; +Cc: linux-omap, linux-arm-kernel


  the fields must be null-terminated:
  the caller may use it as null-terminted string, next.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
 arch/arm/mach-omap2/twl-common.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c
index e49b40b..6a7aec6 100644
--- a/arch/arm/mach-omap2/twl-common.c
+++ b/arch/arm/mach-omap2/twl-common.c
@@ -23,6 +23,7 @@
 #include <linux/i2c.h>
 #include <linux/i2c/twl.h>
 #include <linux/gpio.h>
+#include <linux/string.h>
 #include <linux/regulator/machine.h>
 #include <linux/regulator/fixed.h>
 
@@ -56,7 +57,7 @@ void __init omap_pmic_init(int bus, u32 clkrate,
 			   struct twl4030_platform_data *pmic_data)
 {
 	omap_mux_init_signal("sys_nirq", OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_WAKEUPENABLE);
-	strncpy(pmic_i2c_board_info.type, pmic_type,
+	strlcpy(pmic_i2c_board_info.type, pmic_type,
 		sizeof(pmic_i2c_board_info.type));
 	pmic_i2c_board_info.irq = pmic_irq;
 	pmic_i2c_board_info.platform_data = pmic_data;
-- 
1.7.10.4

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

* [PATCH] ARM:omap2: using strlcpy instead of strncpy
@ 2013-01-30 11:46 ` Chen Gang
  0 siblings, 0 replies; 22+ messages in thread
From: Chen Gang @ 2013-01-30 11:46 UTC (permalink / raw)
  To: linux-arm-kernel


  the fields must be null-terminated:
  the caller may use it as null-terminted string, next.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
 arch/arm/mach-omap2/twl-common.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c
index e49b40b..6a7aec6 100644
--- a/arch/arm/mach-omap2/twl-common.c
+++ b/arch/arm/mach-omap2/twl-common.c
@@ -23,6 +23,7 @@
 #include <linux/i2c.h>
 #include <linux/i2c/twl.h>
 #include <linux/gpio.h>
+#include <linux/string.h>
 #include <linux/regulator/machine.h>
 #include <linux/regulator/fixed.h>
 
@@ -56,7 +57,7 @@ void __init omap_pmic_init(int bus, u32 clkrate,
 			   struct twl4030_platform_data *pmic_data)
 {
 	omap_mux_init_signal("sys_nirq", OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_WAKEUPENABLE);
-	strncpy(pmic_i2c_board_info.type, pmic_type,
+	strlcpy(pmic_i2c_board_info.type, pmic_type,
 		sizeof(pmic_i2c_board_info.type));
 	pmic_i2c_board_info.irq = pmic_irq;
 	pmic_i2c_board_info.platform_data = pmic_data;
-- 
1.7.10.4

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

* Re: [PATCH] ARM:omap2: using strlcpy instead of strncpy
  2013-01-30 11:46 ` Chen Gang
@ 2013-02-01 22:45   ` Tony Lindgren
  -1 siblings, 0 replies; 22+ messages in thread
From: Tony Lindgren @ 2013-02-01 22:45 UTC (permalink / raw)
  To: Chen Gang
  Cc: Russell King - ARM Linux, linux-omap, linux-arm-kernel, Peter Ujfalusi

* Chen Gang <gang.chen@asianux.com> [130130 03:50]:
> 
>   the fields must be null-terminated:
>   the caller may use it as null-terminted string, next.

Added Peter to cc on this one too, it's best that he queues
all the twl changes.

Tony
 
> Signed-off-by: Chen Gang <gang.chen@asianux.com>
> ---
>  arch/arm/mach-omap2/twl-common.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c
> index e49b40b..6a7aec6 100644
> --- a/arch/arm/mach-omap2/twl-common.c
> +++ b/arch/arm/mach-omap2/twl-common.c
> @@ -23,6 +23,7 @@
>  #include <linux/i2c.h>
>  #include <linux/i2c/twl.h>
>  #include <linux/gpio.h>
> +#include <linux/string.h>
>  #include <linux/regulator/machine.h>
>  #include <linux/regulator/fixed.h>
>  
> @@ -56,7 +57,7 @@ void __init omap_pmic_init(int bus, u32 clkrate,
>  			   struct twl4030_platform_data *pmic_data)
>  {
>  	omap_mux_init_signal("sys_nirq", OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_WAKEUPENABLE);
> -	strncpy(pmic_i2c_board_info.type, pmic_type,
> +	strlcpy(pmic_i2c_board_info.type, pmic_type,
>  		sizeof(pmic_i2c_board_info.type));
>  	pmic_i2c_board_info.irq = pmic_irq;
>  	pmic_i2c_board_info.platform_data = pmic_data;
> -- 
> 1.7.10.4

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

* [PATCH] ARM:omap2: using strlcpy instead of strncpy
@ 2013-02-01 22:45   ` Tony Lindgren
  0 siblings, 0 replies; 22+ messages in thread
From: Tony Lindgren @ 2013-02-01 22:45 UTC (permalink / raw)
  To: linux-arm-kernel

* Chen Gang <gang.chen@asianux.com> [130130 03:50]:
> 
>   the fields must be null-terminated:
>   the caller may use it as null-terminted string, next.

Added Peter to cc on this one too, it's best that he queues
all the twl changes.

Tony
 
> Signed-off-by: Chen Gang <gang.chen@asianux.com>
> ---
>  arch/arm/mach-omap2/twl-common.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c
> index e49b40b..6a7aec6 100644
> --- a/arch/arm/mach-omap2/twl-common.c
> +++ b/arch/arm/mach-omap2/twl-common.c
> @@ -23,6 +23,7 @@
>  #include <linux/i2c.h>
>  #include <linux/i2c/twl.h>
>  #include <linux/gpio.h>
> +#include <linux/string.h>
>  #include <linux/regulator/machine.h>
>  #include <linux/regulator/fixed.h>
>  
> @@ -56,7 +57,7 @@ void __init omap_pmic_init(int bus, u32 clkrate,
>  			   struct twl4030_platform_data *pmic_data)
>  {
>  	omap_mux_init_signal("sys_nirq", OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_WAKEUPENABLE);
> -	strncpy(pmic_i2c_board_info.type, pmic_type,
> +	strlcpy(pmic_i2c_board_info.type, pmic_type,
>  		sizeof(pmic_i2c_board_info.type));
>  	pmic_i2c_board_info.irq = pmic_irq;
>  	pmic_i2c_board_info.platform_data = pmic_data;
> -- 
> 1.7.10.4

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

* Re: [PATCH] ARM:omap2: using strlcpy instead of strncpy
  2013-02-01 22:45   ` Tony Lindgren
@ 2013-02-02  2:25     ` Chen Gang
  -1 siblings, 0 replies; 22+ messages in thread
From: Chen Gang @ 2013-02-02  2:25 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Russell King - ARM Linux, linux-omap, linux-arm-kernel, Peter Ujfalusi

于 2013年02月02日 06:45, Tony Lindgren 写道:
> Added Peter to cc on this one too, it's best that he queues
> all the twl changes.

  is it suitable to sync the MAINTAINER file for it ?
    if suitable, can you help to change it ?

  thanks.

-- 
Chen Gang

Asianux Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH] ARM:omap2: using strlcpy instead of strncpy
@ 2013-02-02  2:25     ` Chen Gang
  0 siblings, 0 replies; 22+ messages in thread
From: Chen Gang @ 2013-02-02  2:25 UTC (permalink / raw)
  To: linux-arm-kernel

? 2013?02?02? 06:45, Tony Lindgren ??:
> Added Peter to cc on this one too, it's best that he queues
> all the twl changes.

  is it suitable to sync the MAINTAINER file for it ?
    if suitable, can you help to change it ?

  thanks.

-- 
Chen Gang

Asianux Corporation

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

* Re: [PATCH] ARM:omap2: using strlcpy instead of strncpy
  2013-02-02  2:25     ` Chen Gang
@ 2013-02-02 18:07       ` Tony Lindgren
  -1 siblings, 0 replies; 22+ messages in thread
From: Tony Lindgren @ 2013-02-02 18:07 UTC (permalink / raw)
  To: Chen Gang
  Cc: Russell King - ARM Linux, linux-omap, linux-arm-kernel, Peter Ujfalusi

* Chen Gang <gang.chen@asianux.com> [130201 18:29]:
> 于 2013年02月02日 06:45, Tony Lindgren 写道:
> > Added Peter to cc on this one too, it's best that he queues
> > all the twl changes.
> 
>   is it suitable to sync the MAINTAINER file for it ?
>     if suitable, can you help to change it ?

Yes I suggest we add Peter as the maintainer for all twl
related things.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH] ARM:omap2: using strlcpy instead of strncpy
@ 2013-02-02 18:07       ` Tony Lindgren
  0 siblings, 0 replies; 22+ messages in thread
From: Tony Lindgren @ 2013-02-02 18:07 UTC (permalink / raw)
  To: linux-arm-kernel

* Chen Gang <gang.chen@asianux.com> [130201 18:29]:
> ? 2013?02?02? 06:45, Tony Lindgren ??:
> > Added Peter to cc on this one too, it's best that he queues
> > all the twl changes.
> 
>   is it suitable to sync the MAINTAINER file for it ?
>     if suitable, can you help to change it ?

Yes I suggest we add Peter as the maintainer for all twl
related things.

Regards,

Tony

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

* Re: [PATCH] ARM:omap2: using strlcpy instead of strncpy
  2013-02-02 18:07       ` Tony Lindgren
@ 2013-02-04  1:17         ` Chen Gang
  -1 siblings, 0 replies; 22+ messages in thread
From: Chen Gang @ 2013-02-04  1:17 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Russell King - ARM Linux, linux-omap, linux-arm-kernel, Peter Ujfalusi

于 2013年02月03日 02:07, Tony Lindgren 写道:
>>   is it suitable to sync the MAINTAINER file for it ?
>> >     if suitable, can you help to change it ?
> Yes I suggest we add Peter as the maintainer for all twl
> related things.
> 
> Regards,
> 
> Tony
> 
> 

  ok, thanks.

by the way:
  if necessary (not find another suitable members to sync it), I should
sync it (since I found it)

-- 
Chen Gang

Asianux Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH] ARM:omap2: using strlcpy instead of strncpy
@ 2013-02-04  1:17         ` Chen Gang
  0 siblings, 0 replies; 22+ messages in thread
From: Chen Gang @ 2013-02-04  1:17 UTC (permalink / raw)
  To: linux-arm-kernel

? 2013?02?03? 02:07, Tony Lindgren ??:
>>   is it suitable to sync the MAINTAINER file for it ?
>> >     if suitable, can you help to change it ?
> Yes I suggest we add Peter as the maintainer for all twl
> related things.
> 
> Regards,
> 
> Tony
> 
> 

  ok, thanks.

by the way:
  if necessary (not find another suitable members to sync it), I should
sync it (since I found it)

-- 
Chen Gang

Asianux Corporation

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

* Re: [PATCH] ARM:omap2: using strlcpy instead of strncpy
  2013-01-30 11:46 ` Chen Gang
@ 2013-02-04  8:54   ` Peter Ujfalusi
  -1 siblings, 0 replies; 22+ messages in thread
From: Peter Ujfalusi @ 2013-02-04  8:54 UTC (permalink / raw)
  To: Chen Gang; +Cc: tony, Russell King - ARM Linux, linux-omap, linux-arm-kernel

On 01/30/2013 12:46 PM, Chen Gang wrote:
> 
>   the fields must be null-terminated:
>   the caller may use it as null-terminted string, next.
> 
> Signed-off-by: Chen Gang <gang.chen@asianux.com>

Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>

> ---
>  arch/arm/mach-omap2/twl-common.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c
> index e49b40b..6a7aec6 100644
> --- a/arch/arm/mach-omap2/twl-common.c
> +++ b/arch/arm/mach-omap2/twl-common.c
> @@ -23,6 +23,7 @@
>  #include <linux/i2c.h>
>  #include <linux/i2c/twl.h>
>  #include <linux/gpio.h>
> +#include <linux/string.h>
>  #include <linux/regulator/machine.h>
>  #include <linux/regulator/fixed.h>
>  
> @@ -56,7 +57,7 @@ void __init omap_pmic_init(int bus, u32 clkrate,
>  			   struct twl4030_platform_data *pmic_data)
>  {
>  	omap_mux_init_signal("sys_nirq", OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_WAKEUPENABLE);
> -	strncpy(pmic_i2c_board_info.type, pmic_type,
> +	strlcpy(pmic_i2c_board_info.type, pmic_type,
>  		sizeof(pmic_i2c_board_info.type));
>  	pmic_i2c_board_info.irq = pmic_irq;
>  	pmic_i2c_board_info.platform_data = pmic_data;
> 


-- 
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH] ARM:omap2: using strlcpy instead of strncpy
@ 2013-02-04  8:54   ` Peter Ujfalusi
  0 siblings, 0 replies; 22+ messages in thread
From: Peter Ujfalusi @ 2013-02-04  8:54 UTC (permalink / raw)
  To: linux-arm-kernel

On 01/30/2013 12:46 PM, Chen Gang wrote:
> 
>   the fields must be null-terminated:
>   the caller may use it as null-terminted string, next.
> 
> Signed-off-by: Chen Gang <gang.chen@asianux.com>

Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>

> ---
>  arch/arm/mach-omap2/twl-common.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c
> index e49b40b..6a7aec6 100644
> --- a/arch/arm/mach-omap2/twl-common.c
> +++ b/arch/arm/mach-omap2/twl-common.c
> @@ -23,6 +23,7 @@
>  #include <linux/i2c.h>
>  #include <linux/i2c/twl.h>
>  #include <linux/gpio.h>
> +#include <linux/string.h>
>  #include <linux/regulator/machine.h>
>  #include <linux/regulator/fixed.h>
>  
> @@ -56,7 +57,7 @@ void __init omap_pmic_init(int bus, u32 clkrate,
>  			   struct twl4030_platform_data *pmic_data)
>  {
>  	omap_mux_init_signal("sys_nirq", OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_WAKEUPENABLE);
> -	strncpy(pmic_i2c_board_info.type, pmic_type,
> +	strlcpy(pmic_i2c_board_info.type, pmic_type,
>  		sizeof(pmic_i2c_board_info.type));
>  	pmic_i2c_board_info.irq = pmic_irq;
>  	pmic_i2c_board_info.platform_data = pmic_data;
> 


-- 
P?ter

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

* Re: [PATCH] ARM:omap2: using strlcpy instead of strncpy
  2013-02-01 22:45   ` Tony Lindgren
@ 2013-02-04  9:00     ` Peter Ujfalusi
  -1 siblings, 0 replies; 22+ messages in thread
From: Peter Ujfalusi @ 2013-02-04  9:00 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Chen Gang, Russell King - ARM Linux, linux-omap, linux-arm-kernel

Hi Tony,

On 02/01/2013 11:45 PM, Tony Lindgren wrote:
> * Chen Gang <gang.chen@asianux.com> [130130 03:50]:
>>
>>   the fields must be null-terminated:
>>   the caller may use it as null-terminted string, next.
> 
> Added Peter to cc on this one too, it's best that he queues
> all the twl changes.

I can create a branch for you in our gitorious tree
(git://gitorious.org/omap-audio/linux-audio.git) for this patch. But I think
for now it would be best if you could take this via linux-omap (the file is
under arch/arm/mach-omap2 anyways)

Regards,
Péter

> 
> Tony
>  
>> Signed-off-by: Chen Gang <gang.chen@asianux.com>
>> ---
>>  arch/arm/mach-omap2/twl-common.c |    3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c
>> index e49b40b..6a7aec6 100644
>> --- a/arch/arm/mach-omap2/twl-common.c
>> +++ b/arch/arm/mach-omap2/twl-common.c
>> @@ -23,6 +23,7 @@
>>  #include <linux/i2c.h>
>>  #include <linux/i2c/twl.h>
>>  #include <linux/gpio.h>
>> +#include <linux/string.h>
>>  #include <linux/regulator/machine.h>
>>  #include <linux/regulator/fixed.h>
>>  
>> @@ -56,7 +57,7 @@ void __init omap_pmic_init(int bus, u32 clkrate,
>>  			   struct twl4030_platform_data *pmic_data)
>>  {
>>  	omap_mux_init_signal("sys_nirq", OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_WAKEUPENABLE);
>> -	strncpy(pmic_i2c_board_info.type, pmic_type,
>> +	strlcpy(pmic_i2c_board_info.type, pmic_type,
>>  		sizeof(pmic_i2c_board_info.type));
>>  	pmic_i2c_board_info.irq = pmic_irq;
>>  	pmic_i2c_board_info.platform_data = pmic_data;
>> -- 
>> 1.7.10.4


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH] ARM:omap2: using strlcpy instead of strncpy
@ 2013-02-04  9:00     ` Peter Ujfalusi
  0 siblings, 0 replies; 22+ messages in thread
From: Peter Ujfalusi @ 2013-02-04  9:00 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Tony,

On 02/01/2013 11:45 PM, Tony Lindgren wrote:
> * Chen Gang <gang.chen@asianux.com> [130130 03:50]:
>>
>>   the fields must be null-terminated:
>>   the caller may use it as null-terminted string, next.
> 
> Added Peter to cc on this one too, it's best that he queues
> all the twl changes.

I can create a branch for you in our gitorious tree
(git://gitorious.org/omap-audio/linux-audio.git) for this patch. But I think
for now it would be best if you could take this via linux-omap (the file is
under arch/arm/mach-omap2 anyways)

Regards,
P?ter

> 
> Tony
>  
>> Signed-off-by: Chen Gang <gang.chen@asianux.com>
>> ---
>>  arch/arm/mach-omap2/twl-common.c |    3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c
>> index e49b40b..6a7aec6 100644
>> --- a/arch/arm/mach-omap2/twl-common.c
>> +++ b/arch/arm/mach-omap2/twl-common.c
>> @@ -23,6 +23,7 @@
>>  #include <linux/i2c.h>
>>  #include <linux/i2c/twl.h>
>>  #include <linux/gpio.h>
>> +#include <linux/string.h>
>>  #include <linux/regulator/machine.h>
>>  #include <linux/regulator/fixed.h>
>>  
>> @@ -56,7 +57,7 @@ void __init omap_pmic_init(int bus, u32 clkrate,
>>  			   struct twl4030_platform_data *pmic_data)
>>  {
>>  	omap_mux_init_signal("sys_nirq", OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_WAKEUPENABLE);
>> -	strncpy(pmic_i2c_board_info.type, pmic_type,
>> +	strlcpy(pmic_i2c_board_info.type, pmic_type,
>>  		sizeof(pmic_i2c_board_info.type));
>>  	pmic_i2c_board_info.irq = pmic_irq;
>>  	pmic_i2c_board_info.platform_data = pmic_data;
>> -- 
>> 1.7.10.4

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

* Re: [PATCH] ARM:omap2: using strlcpy instead of strncpy
  2013-02-04  9:00     ` Peter Ujfalusi
@ 2013-02-04 18:18       ` Tony Lindgren
  -1 siblings, 0 replies; 22+ messages in thread
From: Tony Lindgren @ 2013-02-04 18:18 UTC (permalink / raw)
  To: Peter Ujfalusi
  Cc: Chen Gang, Russell King - ARM Linux, linux-omap, linux-arm-kernel

* Peter Ujfalusi <peter.ujfalusi@ti.com> [130204 01:04]:
> Hi Tony,
> 
> On 02/01/2013 11:45 PM, Tony Lindgren wrote:
> > * Chen Gang <gang.chen@asianux.com> [130130 03:50]:
> >>
> >>   the fields must be null-terminated:
> >>   the caller may use it as null-terminted string, next.
> > 
> > Added Peter to cc on this one too, it's best that he queues
> > all the twl changes.
> 
> I can create a branch for you in our gitorious tree
> (git://gitorious.org/omap-audio/linux-audio.git) for this patch. But I think
> for now it would be best if you could take this via linux-omap (the file is
> under arch/arm/mach-omap2 anyways)

OK thanks I'll apply with your ack to omap-for-v3.9/fixes-noncritical.

Tony

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

* [PATCH] ARM:omap2: using strlcpy instead of strncpy
@ 2013-02-04 18:18       ` Tony Lindgren
  0 siblings, 0 replies; 22+ messages in thread
From: Tony Lindgren @ 2013-02-04 18:18 UTC (permalink / raw)
  To: linux-arm-kernel

* Peter Ujfalusi <peter.ujfalusi@ti.com> [130204 01:04]:
> Hi Tony,
> 
> On 02/01/2013 11:45 PM, Tony Lindgren wrote:
> > * Chen Gang <gang.chen@asianux.com> [130130 03:50]:
> >>
> >>   the fields must be null-terminated:
> >>   the caller may use it as null-terminted string, next.
> > 
> > Added Peter to cc on this one too, it's best that he queues
> > all the twl changes.
> 
> I can create a branch for you in our gitorious tree
> (git://gitorious.org/omap-audio/linux-audio.git) for this patch. But I think
> for now it would be best if you could take this via linux-omap (the file is
> under arch/arm/mach-omap2 anyways)

OK thanks I'll apply with your ack to omap-for-v3.9/fixes-noncritical.

Tony

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

* Re: [PATCH] ARM:omap2: using strlcpy instead of strncpy
  2013-02-04 18:18       ` Tony Lindgren
@ 2013-02-05  2:18         ` Chen Gang
  -1 siblings, 0 replies; 22+ messages in thread
From: Chen Gang @ 2013-02-05  2:18 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Peter Ujfalusi, Russell King - ARM Linux, linux-omap, linux-arm-kernel

于 2013年02月05日 02:18, Tony Lindgren 写道:
> * Peter Ujfalusi <peter.ujfalusi@ti.com> [130204 01:04]:
>> > Hi Tony,
>> > 
>> > I can create a branch for you in our gitorious tree
>> > (git://gitorious.org/omap-audio/linux-audio.git) for this patch. But I think
>> > for now it would be best if you could take this via linux-omap (the file is
>> > under arch/arm/mach-omap2 anyways)
> OK thanks I'll apply with your ack to omap-for-v3.9/fixes-noncritical.
> 
> Tony
> 

  Does it mean: we need not sync MAINTAINERS file for twl-*, recently ?

  :-)

  thanks.
-- 
Chen Gang

Asianux Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH] ARM:omap2: using strlcpy instead of strncpy
@ 2013-02-05  2:18         ` Chen Gang
  0 siblings, 0 replies; 22+ messages in thread
From: Chen Gang @ 2013-02-05  2:18 UTC (permalink / raw)
  To: linux-arm-kernel

? 2013?02?05? 02:18, Tony Lindgren ??:
> * Peter Ujfalusi <peter.ujfalusi@ti.com> [130204 01:04]:
>> > Hi Tony,
>> > 
>> > I can create a branch for you in our gitorious tree
>> > (git://gitorious.org/omap-audio/linux-audio.git) for this patch. But I think
>> > for now it would be best if you could take this via linux-omap (the file is
>> > under arch/arm/mach-omap2 anyways)
> OK thanks I'll apply with your ack to omap-for-v3.9/fixes-noncritical.
> 
> Tony
> 

  Does it mean: we need not sync MAINTAINERS file for twl-*, recently ?

  :-)

  thanks.
-- 
Chen Gang

Asianux Corporation

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

* Re: [PATCH] ARM:omap2: using strlcpy instead of strncpy
  2013-02-05  2:18         ` Chen Gang
@ 2013-02-05 18:56           ` Tony Lindgren
  -1 siblings, 0 replies; 22+ messages in thread
From: Tony Lindgren @ 2013-02-05 18:56 UTC (permalink / raw)
  To: Chen Gang
  Cc: Peter Ujfalusi, Russell King - ARM Linux, linux-omap, linux-arm-kernel

* Chen Gang <gang.chen@asianux.com> [130204 18:22]:
> 于 2013年02月05日 02:18, Tony Lindgren 写道:
> > * Peter Ujfalusi <peter.ujfalusi@ti.com> [130204 01:04]:
> >> > Hi Tony,
> >> > 
> >> > I can create a branch for you in our gitorious tree
> >> > (git://gitorious.org/omap-audio/linux-audio.git) for this patch. But I think
> >> > for now it would be best if you could take this via linux-omap (the file is
> >> > under arch/arm/mach-omap2 anyways)
> > OK thanks I'll apply with your ack to omap-for-v3.9/fixes-noncritical.
> > 
> > Tony
> > 
> 
>   Does it mean: we need not sync MAINTAINERS file for twl-*, recently ?
> 
>   :-)

No we should still do it.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH] ARM:omap2: using strlcpy instead of strncpy
@ 2013-02-05 18:56           ` Tony Lindgren
  0 siblings, 0 replies; 22+ messages in thread
From: Tony Lindgren @ 2013-02-05 18:56 UTC (permalink / raw)
  To: linux-arm-kernel

* Chen Gang <gang.chen@asianux.com> [130204 18:22]:
> ? 2013?02?05? 02:18, Tony Lindgren ??:
> > * Peter Ujfalusi <peter.ujfalusi@ti.com> [130204 01:04]:
> >> > Hi Tony,
> >> > 
> >> > I can create a branch for you in our gitorious tree
> >> > (git://gitorious.org/omap-audio/linux-audio.git) for this patch. But I think
> >> > for now it would be best if you could take this via linux-omap (the file is
> >> > under arch/arm/mach-omap2 anyways)
> > OK thanks I'll apply with your ack to omap-for-v3.9/fixes-noncritical.
> > 
> > Tony
> > 
> 
>   Does it mean: we need not sync MAINTAINERS file for twl-*, recently ?
> 
>   :-)

No we should still do it.

Tony

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

* Re: [PATCH] ARM:omap2: using strlcpy instead of strncpy
  2013-02-05 18:56           ` Tony Lindgren
@ 2013-02-06  2:05             ` Chen Gang
  -1 siblings, 0 replies; 22+ messages in thread
From: Chen Gang @ 2013-02-06  2:05 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Peter Ujfalusi, Russell King - ARM Linux, linux-omap, linux-arm-kernel

于 2013年02月06日 02:56, Tony Lindgren 写道:
> * Chen Gang <gang.chen@asianux.com> [130204 18:22]:
>> >   Does it mean: we need not sync MAINTAINERS file for twl-*, recently ?
>> > 
>> >   :-)
> No we should still do it.
> 
> Tony
> 

  ok, thanks.

  if necessary (no other members do it), I should perform.
  if really should I do:

    requirements:
      A) I should succeed provide at least 3 valuable patches to twl-*
           (or I am not qualified to provide the sync MAINTAINERS patch)

      B) relative member need give strictly checking for the patch.
           (so can evaluate whether I have been qualified)

      C) it is necessary to be monitored by the relative mailing lists.

    I should try:
      A) need mainly focus on the omap2, specially for twl-*

      B) the patch type should be for bug fixing:
           (I am not familiar with omap2, so can not for new features)
          i. memory override.
         ii. resource management.
        iii. others (compiling issue, type cast, ...)

      C) should provide 3 twl-* valuable patches within 1 month.
           (have finished one: strlcpy, in Jan 30 2013)
           (so need finish the other 2 patches, before Feb 28 2013)

    hope I can succeed.

    welcome any members to provide suggestions and completions.


  thanks.

  :-)

-- 
Chen Gang

Asianux Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH] ARM:omap2: using strlcpy instead of strncpy
@ 2013-02-06  2:05             ` Chen Gang
  0 siblings, 0 replies; 22+ messages in thread
From: Chen Gang @ 2013-02-06  2:05 UTC (permalink / raw)
  To: linux-arm-kernel

? 2013?02?06? 02:56, Tony Lindgren ??:
> * Chen Gang <gang.chen@asianux.com> [130204 18:22]:
>> >   Does it mean: we need not sync MAINTAINERS file for twl-*, recently ?
>> > 
>> >   :-)
> No we should still do it.
> 
> Tony
> 

  ok, thanks.

  if necessary (no other members do it), I should perform.
  if really should I do:

    requirements:
      A) I should succeed provide at least 3 valuable patches to twl-*
           (or I am not qualified to provide the sync MAINTAINERS patch)

      B) relative member need give strictly checking for the patch.
           (so can evaluate whether I have been qualified)

      C) it is necessary to be monitored by the relative mailing lists.

    I should try:
      A) need mainly focus on the omap2, specially for twl-*

      B) the patch type should be for bug fixing:
           (I am not familiar with omap2, so can not for new features)
          i. memory override.
         ii. resource management.
        iii. others (compiling issue, type cast, ...)

      C) should provide 3 twl-* valuable patches within 1 month.
           (have finished one: strlcpy, in Jan 30 2013)
           (so need finish the other 2 patches, before Feb 28 2013)

    hope I can succeed.

    welcome any members to provide suggestions and completions.


  thanks.

  :-)

-- 
Chen Gang

Asianux Corporation

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

end of thread, other threads:[~2013-02-06  2:05 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-30 11:46 [PATCH] ARM:omap2: using strlcpy instead of strncpy Chen Gang
2013-01-30 11:46 ` Chen Gang
2013-02-01 22:45 ` Tony Lindgren
2013-02-01 22:45   ` Tony Lindgren
2013-02-02  2:25   ` Chen Gang
2013-02-02  2:25     ` Chen Gang
2013-02-02 18:07     ` Tony Lindgren
2013-02-02 18:07       ` Tony Lindgren
2013-02-04  1:17       ` Chen Gang
2013-02-04  1:17         ` Chen Gang
2013-02-04  9:00   ` Peter Ujfalusi
2013-02-04  9:00     ` Peter Ujfalusi
2013-02-04 18:18     ` Tony Lindgren
2013-02-04 18:18       ` Tony Lindgren
2013-02-05  2:18       ` Chen Gang
2013-02-05  2:18         ` Chen Gang
2013-02-05 18:56         ` Tony Lindgren
2013-02-05 18:56           ` Tony Lindgren
2013-02-06  2:05           ` Chen Gang
2013-02-06  2:05             ` Chen Gang
2013-02-04  8:54 ` Peter Ujfalusi
2013-02-04  8:54   ` Peter Ujfalusi

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.