Skip to main content

Posts

Showing posts from February, 2014

C Program to Reverse a string

#include        <stdio.h> #include        <string.h> #include        <stdlib.h> /* Program - Reverse given string with poniters    Author - Surendra Patil */ int main() {         char *str,*rev,*ptr,temp;         str = (char *)malloc(10*sizeof(char));         printf("Enter the string \n");         scanf("%s",str);         printf("String before reversing = %s len = %d \n",str,strlen(str));         ptr = str       /* point to first character */;         rev = ptr + (strlen(ptr)-1); /* point to last character */         /* keep swapping the characters */         while (ptr < rev) {                 temp = *ptr;                 *ptr = *rev;                 *rev = temp;                 ptr++;                 rev--;         }         printf("String after reversing = %s\n",str);         return 0; } ~                               
patch "drivers:staging:silicom fixed checkpatch coding style error on macros" added to staging tree 1 message gregkh@linuxfoundation.org   <gregkh@linuxfoundation.org> Wed, Feb 12, 2014 at 9:41 AM To: surendra.tux@gmail.com, gregkh@linuxfoundation.org This is a note to let you know that I've just added the patch titled     drivers:staging:silicom fixed checkpatch coding style error on macros to my staging git tree which can be found at     git:// git.kernel.org/pub/scm/ linux/kernel/git/gregkh/ staging.git in the staging-next branch. The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.) The patch will also be merged in the next major kernel release during the merge window. If you have any questions about this process, please let me know. From f1fe476ecb35e5f9ef62b58016fa4f 71e1233bbe Mon Sep 17 00:00:00 2001 From: Surendra Patil < surendra.tux@gmail.com > Date: Tue, 11 Feb 201
patch "drivers:staging:silicom Fixed extern warnings reported by checkpatch" added to staging tree 1 message gregkh@linuxfoundation.org   <gregkh@linuxfoundation.org> Wed, Feb 12, 2014 at 9:31 AM To: surendra.tux@gmail.com, gregkh@linuxfoundation.org This is a note to let you know that I've just added the patch titled     drivers:staging:silicom Fixed extern warnings reported by checkpatch to my staging git tree which can be found at     git:// git.kernel.org/pub/scm/ linux/kernel/git/gregkh/ staging.git in the staging-next branch. The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.) The patch will also be merged in the next major kernel release during the merge window. If you have any questions about this process, please let me know. From 4624b5433f063a56032f959e7a6d72 d8e6e735b6 Mon Sep 17 00:00:00 2001 From: Surendra Patil < surendra.tux@gmail.com > Date: Tue, 11 Feb 20
patch "drivers:staging:rtl8821ae: Fixed few coding style erors and warnings" added to staging tree 1 message gregkh@linuxfoundation.org   <gregkh@linuxfoundation.org> Tue, Feb 11, 2014 at 12:17 PM To: surendra.tux@gmail.com, Larry.Finger@lwfinger.net, gregkh@linuxfoundation.org This is a note to let you know that I've just added the patch titled     drivers:staging:rtl8821ae: Fixed few coding style erors and warnings to my staging git tree which can be found at     git:// git.kernel.org/pub/scm/ linux/kernel/git/gregkh/ staging.git in the staging-next branch. The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.) The patch will also be merged in the next major kernel release during the merge window. If you have any questions about this process, please let me know. From 8f1e98a3290797cc0322f69c0b609c 54bea6b73b Mon Sep 17 00:00:00 2001 From: Surendra Patil < surendra.tux@gmail.com

My First Linux Kernel Patch !!!

patch "staging: rtl8821ae: Fixed the size of array to macro as discussed by" added to staging tree gregkh@linuxfoundation.org   <gregkh@linuxfoundation.org> Fri, Feb 7, 2014 at 9:15 AM To: surendra.tux@gmail.com, gregkh@linuxfoundation.org, torvalds@linux-foundation.org This is a note to let you know that I've just added the patch titled     staging: rtl8821ae: Fixed the size of array to macro as discussed by to my staging git tree which can be found at     git:// git.kernel.org/pub/scm/ linux/kernel/git/gregkh/ staging.git in the staging-linus branch. The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.) The patch will hopefully also be merged in Linus's tree for the next -rc kernel release. If you have any questions about this process, please let me know. From fdf2f40c6cb9649e3990bc11fe0b5c 155adf555a Mon Sep 17 00:00:00 2001 From: Surendra Patil < surendra.tux@gmail.com