Re: [PATCH] PNP: ide: constify pnp_device_id

2017-08-16 Thread David Miller
From: Arvind Yadav Date: Wed, 16 Aug 2017 10:24:32 +0530 > pnp_device_id are not supposed to change at runtime. All functions > working with pnp_device_id provided by work with > const pnp_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind

Re: [PATCH] PNP: ide: constify pnp_device_id

2017-08-16 Thread David Miller
From: Arvind Yadav Date: Wed, 16 Aug 2017 10:24:32 +0530 > pnp_device_id are not supposed to change at runtime. All functions > working with pnp_device_id provided by work with > const pnp_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Applied.

[PATCH] PNP: ide: constify pnp_device_id

2017-08-15 Thread Arvind Yadav
pnp_device_id are not supposed to change at runtime. All functions working with pnp_device_id provided by work with const pnp_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/ide/ide-pnp.c | 2 +- 1 file changed, 1

[PATCH] PNP: ide: constify pnp_device_id

2017-08-15 Thread Arvind Yadav
pnp_device_id are not supposed to change at runtime. All functions working with pnp_device_id provided by work with const pnp_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/ide/ide-pnp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff