Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1295874

Re: [PATCH] s390: char: constify hmcdrv_ftp_ops structs

From Heiko Carstens <heiko.carstens@de.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] s390: char: constify hmcdrv_ftp_ops structs
Date 2015-12-21 10:50 +0100
Message-ID <qI5gl-4L4-9@gated-at.bofh.it> (permalink)
References <qFk2e-3De-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Dec 13, 2015 at 08:51:49PM +0200, Aya Mahfouz wrote:
> Constifies hmcdrv_ftp_ops structures in s390's char
> driver since they are not modified after their
> initialization.
> 
> Detected and found using Coccinelle.
> 
> Suggested-by: Julia Lawall <Julia.Lawall@lip6.fr>
> Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
> ---
>  drivers/s390/char/hmcdrv_ftp.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] s390: char: constify hmcdrv_ftp_ops structs Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> - 2015-12-13 20:00 +0100
  Re: [PATCH] s390: char: constify hmcdrv_ftp_ops structs Heiko Carstens <heiko.carstens@de.ibm.com> - 2015-12-21 10:50 +0100

csiph-web