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-prev] [day] [month] [year] [list]
Date:	Mon, 07 Jul 2014 13:30:18 +0100
From:	Jonathan Cameron <jic23@...nel.org>
To:	Daniel Baluta <daniel.baluta@...el.com>
CC:	srinivas.pandruvada@...ux.intel.com, archana.patni@...ux.intel.com,
	subramony.sesha@...el.com, linux-iio@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: hid-sensors: make hid_sensor_get_reporting_interval
 static

On 30/06/14 10:29, Daniel Baluta wrote:
> This fixes the following sparse warning:
>
>    CHECK   drivers/iio/common/hid-sensors/hid-sensor-attributes.c
> drivers/iio/common/hid-sensors/hid-sensor-attributes.c:346:5: warning:
> symbol 'hid_sensor_get_reporting_interval' was not declared. Should it be static?
>
> Signed-off-by: Daniel Baluta <daniel.baluta@...el.com>
Applied to the togreg branch of iio.git, initially pushed out as testing
for the autobuilders to play.  Thanks,

Jonathan
> ---
>   drivers/iio/common/hid-sensors/hid-sensor-attributes.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iio/common/hid-sensors/hid-sensor-attributes.c b/drivers/iio/common/hid-sensors/hid-sensor-attributes.c
> index 403dd3d..8220df1 100644
> --- a/drivers/iio/common/hid-sensors/hid-sensor-attributes.c
> +++ b/drivers/iio/common/hid-sensors/hid-sensor-attributes.c
> @@ -343,6 +343,7 @@ int hid_sensor_format_scale(u32 usage_id,
>   }
>   EXPORT_SYMBOL(hid_sensor_format_scale);
>
> +static
>   int hid_sensor_get_reporting_interval(struct hid_sensor_hub_device *hsdev,
>   					u32 usage_id,
>   					struct hid_sensor_common *st)
>

--
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