lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1322169950-21630-1-git-send-email-arnd@arndnet.de>
Date:	Thu, 24 Nov 2011 22:25:50 +0100
From:	Arnd Hannemann <arnd@...dnet.de>
To:	linux-iio@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, Arnd Hannemann <arnd@...dnet.de>
Subject: [PATCH] staging: iio: fix compile error

Commit b46413367961c2e8bd827e067a231be982aaeee2 introduced the following compile error:

  CC      drivers/staging/iio/industrialio-core.o
linux-2.6/drivers/staging/iio/industrialio-core.c: In function 'iio_event_getfd':
linux-2.6/drivers/staging/iio/industrialio-core.c:262:32: error: 'ev_int' undeclared (first use in this function)
linux-2.6/drivers/staging/iio/industrialio-core.c:262:32: note: each undeclared identifier is reported only once for each function it appears in

This patch fixes that.

Signed-off-by: Arnd Hannemann <arnd@...dnet.de>
---
 drivers/staging/iio/industrialio-core.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c
index 2656409..a5b4a1f 100644
--- a/drivers/staging/iio/industrialio-core.c
+++ b/drivers/staging/iio/industrialio-core.c
@@ -243,6 +243,7 @@ static const struct file_operations iio_event_chrdev_fileops = {
 static int iio_event_getfd(struct iio_dev *indio_dev)
 {
 	int fd;
+	struct iio_event_interface *ev_int = indio_dev->event_interface;
 
 	if (indio_dev->event_interface == NULL)
 		return -ENODEV;
-- 
1.7.5.4

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ