kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [samsung:v4l-next 51/121] drivers/media/usb/tlg2300/pd-alsa.c:309:3: error: implicit declaration of
Date: Wed, 26 Sep 2012 16:08:08 +0000	[thread overview]
Message-ID: <20120926160807.GD14447@localhost> (raw)

Hi Alan,

FYI, kernel build failed on

tree:   git://git.infradead.org/users/kmpark/linux-samsung v4l-next
head:   01882ac3debd75dcf39c45b9cfc9eb12c4b50ba0
commit: da35de640a0e9c805aba70439f524234890b96c5 [51/121] [media] tlg2300: fix missing check for audio creation
config: x86_64-allmodconfig

All error/warnings:

drivers/media/usb/tlg2300/pd-alsa.c: In function 'poseidon_audio_init':
drivers/media/usb/tlg2300/pd-alsa.c:309:3: error: implicit declaration of function 'snd_free_card' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

vim +309 drivers/media/usb/tlg2300/pd-alsa.c
   303		ret = snd_card_create(-1, "Telegent", THIS_MODULE, 0, &card);
   304		if (ret != 0)
   305			return ret;
   306	
   307		ret = snd_pcm_new(card, "poseidon audio", 0, 0, 1, &pcm);
   308		if (ret < 0) {
 > 309			snd_free_card(card);
   310			return ret;
   311		}
   312		snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcm_capture_ops);

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu, Yuanhan Liu                              Intel Corporation

             reply	other threads:[~2012-09-26 16:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-26 16:08 Fengguang Wu [this message]
2012-09-26 16:50 ` [samsung:v4l-next 51/121] drivers/media/usb/tlg2300/pd-alsa.c:309:3: error: implicit declaration Alan Cox
2012-09-26 18:17 ` Mauro Carvalho Chehab

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=20120926160807.GD14447@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 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).