lkml.org 
[lkml]   [2017]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/4] constify scsi/tty parisc_device_id
From
Date
On 19.08.2017 19:54, Arvind Yadav wrote:
> parisc_device_id are not supposed to change at runtime. All functions
> working with parisc_device_id provided by <asm/parisc-device.h> work with
> const parisc_device_id. So mark the non-const structs as const.
>
> Arvind Yadav (4):
> [PATCH 1/4] scsi: lasi700: constify parisc_device_id
> [PATCH 2/4] scsi: zalon: constify parisc_device_id
> [PATCH 3/4] tty: 8250: constify parisc_device_id
> [PATCH 4/4] tty: mux: constify parisc_device_id

NAK.
Please don't apply.
I have other patches in my tree which will move those consts
into __init sections instead.

Thanks,
Helge


> drivers/scsi/lasi700.c | 2 +-
> drivers/scsi/zalon.c | 2 +-
> drivers/tty/serial/8250/8250_gsc.c | 4 ++--
> drivers/tty/serial/mux.c | 4 ++--
> 4 files changed, 6 insertions(+), 6 deletions(-)
>

\
 
 \ /
  Last update: 2017-08-21 22:45    [W:1.145 / U:1.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site