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] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 25 Jan 2008 11:01:57 +0100
From:	Hans-Jürgen Koch <hjk@...utronix.de>
To:	Greg Kroah-Hartman <gregkh@...e.de>
Cc:	linux-kernel@...r.kernel.org,
	Jan Engelhardt <jengelh@...putergmbh.de>,
	Greg Kroah-Hartman <gregkh@...e.de>
Subject: Re: [PATCH 185/196] UIO: constify function pointer tables

Am Thu, 24 Jan 2008 23:33:34 -0800
schrieb Greg Kroah-Hartman <gregkh@...e.de>:

> From: Jan Engelhardt <jengelh@...putergmbh.de>
> 
> Signed-off-by: Jan Engelhardt <jengelh@...putergmbh.de>
> Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>

Signed-off-by: Hans J. Koch <hjk@...utronix.de>

> ---
>  drivers/uio/uio.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
> index 03b66fb..cc246fa 100644
> --- a/drivers/uio/uio.c
> +++ b/drivers/uio/uio.c
> @@ -39,7 +39,7 @@ struct uio_device {
>  
>  static int uio_major;
>  static DEFINE_IDR(uio_idr);
> -static struct file_operations uio_fops;
> +static const struct file_operations uio_fops;
>  
>  /* UIO class infrastructure */
>  static struct uio_class {
> @@ -508,7 +508,7 @@ static int uio_mmap(struct file *filep, struct
> vm_area_struct *vma) }
>  }
>  
> -static struct file_operations uio_fops = {
> +static const struct file_operations uio_fops = {
>  	.owner		= THIS_MODULE,
>  	.open		= uio_open,
>  	.release	= uio_release,
--
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