Tag: c967e1df169d033b2da74e979e91b6e297e194fa

s390/hmcdrv: constify hmcdrv_ftp_ops structs

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> 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 Signed-off-by: Aya Mahfouz Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky — drivers/s390/char/hmcdrv_ftp.c | 6 +++— 1 file changed, 3 insertions(+), 3 deletions(-)   diff –git a/drivers/s390/char/hmcdrv_ftp.c b/drivers/s390/char/hmcdrv_ftp.c index d4b61d9..8cb7d8f …

Continue reading