Re: [PATCH] USB and Driver Core patches for 2.6.10

From: Greg KH (greg_at_kroah.com)
Date: 01/08/05

  • Next message: Greg KH: "Re: [PATCH] I2C patches for 2.6.10"
    Date:	Fri, 7 Jan 2005 21:47:37 -0800
    To: linux-usb-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
    
    

    ChangeSet 1.1938.439.50, 2005/01/06 17:28:51-08:00, jlamanna@gmail.com

    [PATCH] USB: ov511.c - vfree() checking cleanups

    ov511.c vfree() checking cleanups.

    Signed-off by: James Lamanna <jlamanna@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>

     drivers/usb/media/ov511.c | 12 ++++--------
     1 files changed, 4 insertions(+), 8 deletions(-)

    diff -Nru a/drivers/usb/media/ov511.c b/drivers/usb/media/ov511.c
    --- a/drivers/usb/media/ov511.c 2005-01-07 15:37:39 -08:00
    +++ b/drivers/usb/media/ov511.c 2005-01-07 15:37:39 -08:00
    @@ -3908,15 +3908,11 @@
                     ov->fbuf = NULL;
             }
     
    - if (ov->rawfbuf) {
    - vfree(ov->rawfbuf);
    - ov->rawfbuf = NULL;
    - }
    + vfree(ov->rawfbuf);
    + ov->rawfbuf = NULL;
     
    - if (ov->tempfbuf) {
    - vfree(ov->tempfbuf);
    - ov->tempfbuf = NULL;
    - }
    + vfree(ov->tempfbuf);
    + ov->tempfbuf = NULL;
     
             for (i = 0; i < OV511_NUMSBUF; i++) {
                     if (ov->sbuf[i].data) {

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


  • Next message: Greg KH: "Re: [PATCH] I2C patches for 2.6.10"

    Relevant Pages

    • [patch 2.6.7] bug_smp_call_function
      ... sg.c has been fixed to no longer call vfree() with interrupts disabled. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [patch 1/8] isdn_bsdcomp.c - vfree() checking cleanups
      ... isdn_bsdcomp.c vfree() checking cleanups. ... Release the string buffer ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [ALSA PATCH] 1.0.9b+
      ... cleanups and new hardware ID additions. ... > changes goes through all ALSA developers (our CVS server sends us ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.7-mm6
      ... > We could make CLONE_IDLETASK clones not do the wakeup? ... have other vastly more urgent things to do at the moment than cleanups. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [2.6 patch] net/seeq8005.c: small cleanups (fwd)
      ... The trivial patch forwarded below still applies and compiles against ... The patch below does the following small cleanups in seeq8005.c: ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)