All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [vhost:vhost-net-next 61/99] drivers/net/can/janz-ican3.c:964:7: warning: unused variable 'ret'
Date: Sat, 28 Jul 2012 10:24:43 +0000	[thread overview]
Message-ID: <20120728102443.GB10759@localhost> (raw)

Hi Ira,

There are new compile warnings show up in

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost-net-next
head:   163049aefdc04323a2d17ec9f2862027b43b0502
commit: 83702f69272e4591a91a27eb58eade1bcd361dae [61/99] can: janz-ican3: fix support for CAN_RAW_RECV_OWN_MSGS

All error/warnings:

drivers/net/can/janz-ican3.c: In function 'ican3_handle_cevtind':
drivers/net/can/janz-ican3.c:964:7: warning: unused variable 'ret' [-Wunused-variable]

vim +964 drivers/net/can/janz-ican3.c
   961		 * skb allocation when it will just be freed immediately.
   962		 */
   963		if (isrc = CEVTIND_BEI) {
 > 964			int ret;
   965			dev_dbg(mod->dev, "bus error interrupt\n");
   966	
   967			/* TX error */

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu <wfg@linux.intel.com>                     Intel Corporation

             reply	other threads:[~2012-07-28 10:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-28 10:24 Fengguang Wu [this message]
2012-07-30 12:47 ` [vhost:vhost-net-next 61/99] drivers/net/can/janz-ican3.c:964:7: warning: unused variable 'ret' Marc Kleine-Budde

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=20120728102443.GB10759@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@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 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.