All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <49DDCEDA.9070905@fastmail.fm>

diff --git a/a/1.txt b/N1/1.txt
index eadb2a8..4ebb34e 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -60,22 +60,24 @@ Jack Stone wrote:
 >                  goto Exit;
 >              }
 >  
-> -            pBufHeader > -                (tEplLinSdoBufHeader *)
+> -            pBufHeader =
+> -                (tEplLinSdoBufHeader *)
 > -                vmalloc(sizeof(tEplLinSdoBufHeader) +
 > +            pBufHeader = vmalloc(sizeof(tEplLinSdoBufHeader) +
 >                      SdoObject.m_uiSize);
->              if (pBufHeader = NULL) {    // no memory available
+>              if (pBufHeader == NULL) {    // no memory available
 >                  iRet = -ENOMEM;
 > @@ -751,9 +749,7 @@ static int EplLinIoctl(struct inode
 > *pDeviceFile_p,    // information about the dev
 >                  goto Exit;
 >              }
 >  
-> -            pBufHeader > -                (tEplLinSdoBufHeader *)
+> -            pBufHeader =
+> -                (tEplLinSdoBufHeader *)
 > -                vmalloc(sizeof(tEplLinSdoBufHeader) +
 > +            pBufHeader = vmalloc(sizeof(tEplLinSdoBufHeader) +
 >                      SdoObject.m_uiSize);
->              if (pBufHeader = NULL) {    // no memory available
+>              if (pBufHeader == NULL) {    // no memory available
 >                  iRet = -ENOMEM;
 > diff --git a/drivers/staging/et131x/et1310_rx.c
 > b/drivers/staging/et131x/et1310_rx.c
@@ -116,17 +118,17 @@ Jack Stone wrote:
 > -    desc = (u32*)pci_alloc_consistent(pdev,
 > -                      sizeof(u32)*8*count+256, &dma_desc);
 > +    desc = pci_alloc_consistent(pdev, sizeof(u32)*8*count+256, &dma_desc);
->      if(desc=NULL) return -1;
+>      if(desc==NULL) return -1;
 >      if(dma_desc & 0xff){
 >  
 > @@ -1751,7 +1750,7 @@ short alloc_tx_desc_ring(struct net_device *dev,
 > int bufsize, int count,
->      tmpÞsc;
+>      tmp=desc;
 >      for (i=0;i<count;i++)
 >      {
 > -        buf = (void*)pci_alloc_consistent(pdev,bufsize,&dma_tmp);
 > +        buf = pci_alloc_consistent(pdev,bufsize,&dma_tmp);
->          if (buf = NULL) return -ENOMEM;
+>          if (buf == NULL) return -ENOMEM;
 >  
 >          switch(addr) {
 > @@ -1975,8 +1974,8 @@ short alloc_rx_desc_ring(struct net_device *dev,
@@ -134,7 +136,8 @@ Jack Stone wrote:
 >          return -1;
 >      }
 >  
-> -    desc > (u32*)pci_alloc_consistent(pdev,sizeof(u32)*rx_desc_size*count+256,
+> -    desc =
+> (u32*)pci_alloc_consistent(pdev,sizeof(u32)*rx_desc_size*count+256,
 > -                      &dma_desc);
 > +    desc = pci_alloc_consistent(pdev,sizeof(u32)*rx_desc_size*count+256,
 > +                   &dma_desc);
@@ -148,7 +151,7 @@ Jack Stone wrote:
 >  
 > -        //buf = (void*)pci_alloc_consistent(pdev,bufsize,&dma_tmp);
 > +        //buf = pci_alloc_consistent(pdev,bufsize,&dma_tmp);
->          if(-1 = buffer_add(&(priv->rxbuffer), buf,dma_tmp,
+>          if(-1 == buffer_add(&(priv->rxbuffer), buf,dma_tmp,
 >                 &(priv->rxbufferhead))){
 >                 DMESGE("Unable to allocate mem RX buf");
 > diff --git a/drivers/staging/slicoss/slicoss.c
@@ -170,9 +173,4 @@ Jack Stone wrote:
 > To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
 > the body of a message to majordomo@vger.kernel.org
 > More majordomo info at  http://vger.kernel.org/majordomo-info.html
->   
-
---
-To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
-the body of a message to majordomo@vger.kernel.org
-More majordomo info at  http://vger.kernel.org/majordomo-info.html
+>
diff --git a/a/content_digest b/N1/content_digest
index 894f43c..c3770f1 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -12,7 +12,7 @@
  "ref\049DCADAE.7050302@fastmail.fm\0"
  "From\0Jack Stone <jwjstone@fastmail.fm>\0"
  "Subject\0Re: [PATCH 50/56] drivers/staging: Remove void casts\0"
- "Date\0Thu, 09 Apr 2009 10:32:58 +0000\0"
+ "Date\0Thu, 09 Apr 2009 11:32:58 +0100\0"
  "To\0Bert Wesarg <bert.wesarg@googlemail.com>\0"
  "Cc\0linux-kernel@vger.kernel.org"
   jeff@garzik.org
@@ -82,22 +82,24 @@
  ">                  goto Exit;\n"
  ">              }\n"
  ">  \n"
- "> -            pBufHeader > -                (tEplLinSdoBufHeader *)\n"
+ "> -            pBufHeader =\n"
+ "> -                (tEplLinSdoBufHeader *)\n"
  "> -                vmalloc(sizeof(tEplLinSdoBufHeader) +\n"
  "> +            pBufHeader = vmalloc(sizeof(tEplLinSdoBufHeader) +\n"
  ">                      SdoObject.m_uiSize);\n"
- ">              if (pBufHeader = NULL) {    // no memory available\n"
+ ">              if (pBufHeader == NULL) {    // no memory available\n"
  ">                  iRet = -ENOMEM;\n"
  "> @@ -751,9 +749,7 @@ static int EplLinIoctl(struct inode\n"
  "> *pDeviceFile_p,    // information about the dev\n"
  ">                  goto Exit;\n"
  ">              }\n"
  ">  \n"
- "> -            pBufHeader > -                (tEplLinSdoBufHeader *)\n"
+ "> -            pBufHeader =\n"
+ "> -                (tEplLinSdoBufHeader *)\n"
  "> -                vmalloc(sizeof(tEplLinSdoBufHeader) +\n"
  "> +            pBufHeader = vmalloc(sizeof(tEplLinSdoBufHeader) +\n"
  ">                      SdoObject.m_uiSize);\n"
- ">              if (pBufHeader = NULL) {    // no memory available\n"
+ ">              if (pBufHeader == NULL) {    // no memory available\n"
  ">                  iRet = -ENOMEM;\n"
  "> diff --git a/drivers/staging/et131x/et1310_rx.c\n"
  "> b/drivers/staging/et131x/et1310_rx.c\n"
@@ -138,17 +140,17 @@
  "> -    desc = (u32*)pci_alloc_consistent(pdev,\n"
  "> -                      sizeof(u32)*8*count+256, &dma_desc);\n"
  "> +    desc = pci_alloc_consistent(pdev, sizeof(u32)*8*count+256, &dma_desc);\n"
- ">      if(desc=NULL) return -1;\n"
+ ">      if(desc==NULL) return -1;\n"
  ">      if(dma_desc & 0xff){\n"
  ">  \n"
  "> @@ -1751,7 +1750,7 @@ short alloc_tx_desc_ring(struct net_device *dev,\n"
  "> int bufsize, int count,\n"
- ">      tmp\303\236sc;\n"
+ ">      tmp=desc;\n"
  ">      for (i=0;i<count;i++)\n"
  ">      {\n"
  "> -        buf = (void*)pci_alloc_consistent(pdev,bufsize,&dma_tmp);\n"
  "> +        buf = pci_alloc_consistent(pdev,bufsize,&dma_tmp);\n"
- ">          if (buf = NULL) return -ENOMEM;\n"
+ ">          if (buf == NULL) return -ENOMEM;\n"
  ">  \n"
  ">          switch(addr) {\n"
  "> @@ -1975,8 +1974,8 @@ short alloc_rx_desc_ring(struct net_device *dev,\n"
@@ -156,7 +158,8 @@
  ">          return -1;\n"
  ">      }\n"
  ">  \n"
- "> -    desc > (u32*)pci_alloc_consistent(pdev,sizeof(u32)*rx_desc_size*count+256,\n"
+ "> -    desc =\n"
+ "> (u32*)pci_alloc_consistent(pdev,sizeof(u32)*rx_desc_size*count+256,\n"
  "> -                      &dma_desc);\n"
  "> +    desc = pci_alloc_consistent(pdev,sizeof(u32)*rx_desc_size*count+256,\n"
  "> +                   &dma_desc);\n"
@@ -170,7 +173,7 @@
  ">  \n"
  "> -        //buf = (void*)pci_alloc_consistent(pdev,bufsize,&dma_tmp);\n"
  "> +        //buf = pci_alloc_consistent(pdev,bufsize,&dma_tmp);\n"
- ">          if(-1 = buffer_add(&(priv->rxbuffer), buf,dma_tmp,\n"
+ ">          if(-1 == buffer_add(&(priv->rxbuffer), buf,dma_tmp,\n"
  ">                 &(priv->rxbufferhead))){\n"
  ">                 DMESGE(\"Unable to allocate mem RX buf\");\n"
  "> diff --git a/drivers/staging/slicoss/slicoss.c\n"
@@ -192,11 +195,6 @@
  "> To unsubscribe from this list: send the line \"unsubscribe kernel-janitors\" in\n"
  "> the body of a message to majordomo@vger.kernel.org\n"
  "> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n"
- ">   \n"
- "\n"
- "--\n"
- "To unsubscribe from this list: send the line \"unsubscribe kernel-janitors\" in\n"
- "the body of a message to majordomo@vger.kernel.org\n"
- More majordomo info at  http://vger.kernel.org/majordomo-info.html
+ >
 
-16284169813a7155c03108fee66eb9987f8f91fd564fda8e47719d0308d7201b
+9a0fa71840ccb56e165d6ebfb075c2e9def9a8554456d35de28230bf7ce892c1

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.