linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pranith Kumar <pranith.hacks@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: test
Date: Sat, 06 Jun 2009 04:02:34 +0530	[thread overview]
Message-ID: <4A299D02.8010101@gmail.com> (raw)

Signed-off-by: D Pranith Kumar <bobby.prani@gmail.com>

diff --git a/drivers/staging/otus/ioctl.c b/drivers/staging/otus/ioctl.c
index ce04218..5e8bd94 100644
--- a/drivers/staging/otus/ioctl.c
+++ b/drivers/staging/otus/ioctl.c
@@ -2045,6 +2045,7 @@ int usbdrv_wpa_ioctl(struct net_device *dev, 
struct athr_wlan_param *zdparm)
    struct zsKeyInfo keyInfo;
    struct usbdrv_private *macp = dev->ml_priv;
    u16_t vapId = 0;
+    int ii;

    /* zmw_get_wlan_dev(dev); */

@@ -2168,7 +2169,6 @@ int usbdrv_wpa_ioctl(struct net_device *dev, 
struct athr_wlan_param *zdparm)
        /* DUMP key context */
        /* #ifdef WPA_DEBUG */
        if (keyInfo.keyLength > 0) {
-            int ii;
            printk(KERN_WARNING
                        "Otus: Key Context:\n");
            for (ii = 0; ii < keyInfo.keyLength; ) {
@@ -2266,7 +2266,6 @@ int usbdrv_wpa_ioctl(struct net_device *dev, 
struct athr_wlan_param *zdparm)
        /* zfiWlanSetWpaIe(dev, zdparm->u.generic_elem.data,
        * zdparm->u.generic_elem.len);
        */
-        int ii;
        u8_t len = zdparm->u.generic_elem.len;
        u8_t *wpaie = (u8_t *)zdparm->u.generic_elem.data;

@@ -2401,7 +2400,7 @@ int usbdrv_ioctl(struct net_device *dev, struct 
ifreq *ifr, int cmd)
    struct athr_wlan_param zdparm;
    struct usbdrv_private *macp = dev->ml_priv;

-    int err = 0;
+    int err = 0, val = 0;
    int changed = 0;

    /* regp = macp->regp; */
@@ -2445,7 +2444,7 @@ int usbdrv_ioctl(struct net_device *dev, struct 
ifreq *ifr, int cmd)
            err = -EPERM;
            break;
        }
-        int val = *((int *) wrq->u.name);
+       val = *((int *) wrq->u.name);
        if ((val < 0) || (val > 2)) {
            err = -EINVAL;
            break;
diff --git a/drivers/staging/rt2860/common/ba_action.c 
b/drivers/staging/rt2860/common/ba_action.c
index 591d1e2..befd8bd 100644
--- a/drivers/staging/rt2860/common/ba_action.c
+++ b/drivers/staging/rt2860/common/ba_action.c
@@ -1512,7 +1512,7 @@ void 
convert_reordering_packet_to_preAMSDU_or_802_3_packet(
    RTPKT_TO_OSPKT(pRxPkt)->dev = get_netdev_from_bssid(pAd, 
FromWhichBSSID);
    RTPKT_TO_OSPKT(pRxPkt)->data = pRxBlk->pData;
    RTPKT_TO_OSPKT(pRxPkt)->len = pRxBlk->DataSize;
-    RTPKT_TO_OSPKT(pRxPkt)->tail = RTPKT_TO_OSPKT(pRxPkt)->data + 
RTPKT_TO_OSPKT(pRxPkt)->len;
+    RTPKT_TO_OSPKT(pRxPkt)->tail = (UCHAR *) 
(RTPKT_TO_OSPKT(pRxPkt)->data + RTPKT_TO_OSPKT(pRxPkt)->len);

    //
    // copy 802.3 header, if necessary
diff --git a/drivers/staging/rt2860/rt_linux.c 
b/drivers/staging/rt2860/rt_linux.c
index f3c128c..36ffb97 100644
--- a/drivers/staging/rt2860/rt_linux.c
+++ b/drivers/staging/rt2860/rt_linux.c
@@ -607,7 +607,7 @@ PNDIS_PACKET ClonePacket(
        pClonedPkt->dev = pRxPkt->dev;
        pClonedPkt->data = pData;
        pClonedPkt->len = DataSize;
-        pClonedPkt->tail = pClonedPkt->data + pClonedPkt->len;
+       pClonedPkt->tail = (UCHAR *) (pClonedPkt->data + pClonedPkt->len);
        ASSERT(DataSize < 1530);
    }
    return pClonedPkt;
@@ -629,7 +629,7 @@ void  update_os_packet_info(
    pOSPkt->dev = get_netdev_from_bssid(pAd, FromWhichBSSID);
    pOSPkt->data = pRxBlk->pData;
    pOSPkt->len = pRxBlk->DataSize;
-    pOSPkt->tail = pOSPkt->data + pOSPkt->len;
+    pOSPkt->tail = (UCHAR *) (pOSPkt->data + pOSPkt->len);
}


@@ -649,7 +649,7 @@ void wlan_802_11_to_802_3_packet(
    pOSPkt->dev = get_netdev_from_bssid(pAd, FromWhichBSSID);
    pOSPkt->data = pRxBlk->pData;
    pOSPkt->len = pRxBlk->DataSize;
-    pOSPkt->tail = pOSPkt->data + pOSPkt->len;
+    pOSPkt->tail = (UCHAR *) (pOSPkt->data + pOSPkt->len);

    //
    // copy 802.3 header
diff --git a/drivers/staging/slicoss/slicoss.c 
b/drivers/staging/slicoss/slicoss.c
index 6f5d0bf..43bdd9d 100644
--- a/drivers/staging/slicoss/slicoss.c
+++ b/drivers/staging/slicoss/slicoss.c
@@ -1872,7 +1872,7 @@ static int slic_card_download(struct adapter 
*adapter)
    __iomem struct slic_regs *slic_regs = adapter->slic_regs;
    u32 instruction;
    u32 baseaddress;
-    u32 failure;
+    /* u32 failure; */
    u32 i;
    u32 numsects = 0;
    u32 sectsize[3];
diff --git a/drivers/staging/sxg/sxg.c b/drivers/staging/sxg/sxg.c
index 076b3f7..30bbf76 100644
--- a/drivers/staging/sxg/sxg.c
+++ b/drivers/staging/sxg/sxg.c
@@ -2150,7 +2150,7 @@ void sxg_set_interrupt_aggregation(struct 
adapter_t *adapter)
static int sxg_entry_open(struct net_device *dev)
{
    struct adapter_t *adapter = (struct adapter_t *) netdev_priv(dev);
-    int status;
+    int status = STATUS_FAILURE;
    static int turn;
    int sxg_initial_rcv_data_buffers = SXG_INITIAL_RCV_DATA_BUFFERS;
    int i;


             reply	other threads:[~2009-06-05 22:32 UTC|newest]

Thread overview: 118+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-05 22:32 Pranith Kumar [this message]
     [not found] <CAJjsb4oOYb1Ykzen74TutDcsw+smQ6kU9w7uqbUt-E4p_dThkQ@mail.gmail.com>
2023-11-26 17:04 ` Test syzbot
     [not found] <CA+LQOUcaku+JP3R-W+cJqvuGNisYH8-iqg+xXE8YfJdH=kb8AQ@mail.gmail.com>
2023-11-13 11:33 ` test syzbot
     [not found] <DB3PR10MB6835B7FED9E7D84ED8DF7400E8AAA@DB3PR10MB6835.EURPRD10.PROD.OUTLOOK.COM>
2023-11-06 13:33 ` Test syzbot
  -- strict thread matches above, loose matches on Subject: below --
2023-06-10 11:40 test jhrhhao
     [not found] <20230117100140.GA3278026@desktop-3598>
2023-01-17 11:36 ` Test Verma, Achal
2022-09-28  6:58 [PATCH] taprio: Set the value of picos_per_byte before fill sched_entry jianghaoran
2022-09-30  2:18 ` Jakub Kicinski
2022-09-30 13:58   ` test jianghaoran
2022-08-15  2:03 test Robin01.Guo
2021-09-17 12:47 test owen
2021-09-17 12:46 test owen
2021-04-02 23:22 test Abbas Maheryar
2021-01-29  6:57 test dzp
2020-12-12 10:07 Test Turritopsis Dohrnii Teo En Ming
2020-09-24 13:49 TEST Jeffrin Jose T
2019-06-13 12:24 test Damian Tometzki
2019-01-25  4:43 test SHANNAN Syrjala
2017-09-13  7:49 test test
2016-09-09  3:47 test xiakaixu
2016-03-01 15:49 test Lucius Rizzo
2014-10-25  2:11 test xiaofeng.yan
2014-01-24  7:07 test zhouziyan
2013-12-02 19:54 test Sabri Altunbas
2013-08-07  8:52 test Carl-Valentin Schmitt
2013-03-04  4:40 TEST Han Cheng
2012-06-23  3:48 test Peiyong Feng
2011-05-07  4:26 test Wu, Xia
2010-12-27 22:11 test Vasiliy G Tolstov
2010-09-30  3:57 test Wu, Xia
2010-01-09  1:28 test Steven Xu
2009-10-28  6:16 test Yeoh, JoyceX
2009-10-27 12:48 test Charmaine Brugnoli
2009-07-22  5:38 test kulvan811
2009-06-05 22:55 Test saurabh chokshi
2008-10-08 11:44 test promos
2008-10-08  8:49 test promos
2008-09-22 18:16 Test linux-os (Dick Johnson)
2008-05-21 13:23 Test johnson_Michael4
2008-01-31 16:32 test Stephen Clark
2008-01-31 16:54 ` test Jan Engelhardt
2007-08-08 17:39 Test mchu
2007-04-01  7:41 Test andrew.wbeelsoi
2007-03-22 19:30 test Phy Prabab
2006-09-21  8:58 Test Ismail Donmez
2006-08-27  3:19 Test rstevens2008
2006-07-29 19:14 test Jiri Slaby
2006-07-29 19:08 test Jiri Slaby
2006-07-29 19:15 ` test Michal Piotrowski
2006-07-29 19:19   ` test Jiri Slaby
2006-05-29  9:05 Ethernet driver module compilation (8139too) Chava Leviatan
2006-05-29  8:13 ` Brian F. G. Bidulock
2006-05-29 10:27   ` Chava Leviatan
2006-05-29  9:53     ` Brian F. G. Bidulock
2006-05-29 11:34       ` Chava Leviatan
2006-05-29 12:24         ` David Woodhouse
2006-05-29 12:34           ` test Suresh G
2006-04-26 18:18 test mark gross
2006-04-26 19:16 ` test linux-os (Dick Johnson)
2006-04-27 10:04   ` test Jan Engelhardt
2006-04-27 12:18     ` test linux-os (Dick Johnson)
2006-04-28 15:33       ` test Jan Engelhardt
2006-04-25 23:06 test Eric Moore
2006-04-25 19:15 test bjdouma
2006-04-25 19:13 test bjd
2006-01-29 13:10 test News system
2005-12-09  3:19 test info
2005-12-09 10:21 ` test Jesper Juhl
2005-12-09 16:36   ` test Alejandro Bonilla
2005-12-06  4:00 test info
     [not found] <F74952F3-2711-484C-B13C-E977B6DF4B27@oxley.org>
2005-10-20 23:42 ` test Felix Oxley
2005-10-13 13:34 test DVE - Gabriele Brugnoni
2005-08-19 19:28 test Erick
2005-07-15 18:07 Test Johnson, Richard
2004-12-09 16:40 test kwalarski
2004-12-05 20:08 Test Ivan Yosifov
2004-12-05 20:05 Test Ivan Yosifov
2004-11-15 19:36 test ziew
2004-10-20 13:24 Test Sean Fendt
2004-10-11 20:38 test lala
2004-09-06  5:43 Test test
2004-08-16 22:46 test Miguel Bolanos
2004-01-22 22:14 test Fabiano Ramos
2004-01-14  9:58 test Ernst, Yehuda
2003-12-10 18:22 test Galimberti, Gustavo
2003-11-20  3:55 Test Green, Jeff
2003-10-25 23:55 test nick
2003-09-04  6:45 Test Christian Ludwig
2003-07-19  1:28 test Ronald Jerome
2003-07-17 13:36 test Galimberti, Gustavo
2003-05-30 18:40 test paul buenrostro
2003-05-30 18:45 ` test Riley Williams
2003-05-30 18:36 test paul buenrostro
2003-03-20 19:12 test Max Valdez
2003-03-20 19:25 ` test Maciej Soltysiak
2003-03-20  4:56 2.5.65-mm2 Mike Galbraith
2003-03-20  5:59 ` test panchi
2003-03-16 21:11 test Claudio Novaes Figueira
2003-03-04 14:07 test Adrian Etchevarne
2003-02-02 19:15 test Claudio Novaes Figueira
2002-11-27 10:31 test Rudmer van Dijk
2002-11-19 18:53 test Halil
2002-11-18  2:41 test Vergoz Michael
2002-10-07 22:26 test hacker
2002-09-22  9:38 test walairat kladmuk
2002-07-31 20:42 test Andrei Ivanov
2002-07-31 21:25 ` test Rik van Riel
2002-06-27  0:37 test louie miranda
2002-02-17 22:07 test Isaac Connor
2002-01-07 22:56 test Justin Piszcz
2002-01-04 23:04 test T. A.
2001-12-05 15:28 test Rajive Chittajallu
2001-12-05 15:26 test Rajive Chittajallu
2001-10-24 14:14 Test Hans-Peter Jansen
2001-10-22  9:39 test Rajiv Malik
2001-09-24 19:16 test [A]ndy80
2001-09-04 20:28 test David Rundle
2001-08-25  4:15 test hugang
2001-07-08  3:17 test david
2001-05-29 23:39 Test Mark Klassen
2001-05-14 12:02 Test Rich Baum
2001-04-25 15:05 test John Heil
2001-02-19  9:49 test Jiri Kroupa
2001-02-14 19:36 test Josh McKinney
2001-02-13 22:06 test Roger Larsson
2001-02-10 23:27 test Roger Larsson
2001-02-11 13:16 ` test Ben Ford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A299D02.8010101@gmail.com \
    --to=pranith.hacks@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).