Re: [PATCH] net:wireless - Change 1 to true for bool type variable.

2015-05-25 Thread Joe Perches
On Mon, 2015-05-25 at 23:25 +0530, Shailendra Verma wrote: > The variable translate is bool type.So assigning true instead of 1. There are a lot these in the kernel. $ git grep -P "^[ \t]*(?:static[ \t]+)?(?:const\s+)?bool\s+\w+\s*=\s*[01]\s*;" * | wc -l 161 Are you going to submit patches for

Re: [PATCH] net:wireless - Change 1 to true for bool type variable.

2015-05-25 Thread Larry Finger
On 05/25/2015 12:55 PM, Shailendra Verma wrote: The variable translate is bool type.So assigning true instead of 1. Signed-off-by: Shailendra Verma When you submit a patch for a particular driver in the drivers/net/wireless/ tree, it is preferred that the subject start with the driver name,

[PATCH] net:wireless - Change 1 to true for bool type variable.

2015-05-25 Thread Shailendra Verma
The variable translate is bool type.So assigning true instead of 1. Signed-off-by: Shailendra Verma --- drivers/net/wireless/ray_cs.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 477f863..0881ba8 100644