* [folded-merged] rapidio-idtcps-constify-rio_device_id.patch removed from -mm tree
@ 2017-11-17 22:27 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2017-11-17 22:27 UTC (permalink / raw)
To: arvind.yadav.cs, alexandre.bounine, mm-commits
The patch titled
Subject: rapidio: idtcps: constify rio_device_id
has been removed from the -mm tree. Its filename was
rapidio-idtcps-constify-rio_device_id.patch
This patch was dropped because it was folded into rapidio-idt_gen2-constify-rio_device_id.patch
------------------------------------------------------
From: Arvind Yadav <arvind.yadav.cs@gmail.com>
Subject: rapidio: idtcps: constify rio_device_id
rio_device_id are not supposed to change at runtime. rio driver is
working with const 'id_table'. So mark the non-const rio_device_id
structs as const.
Link: http://lkml.kernel.org/r/1503734627-6058-4-git-send-email-arvind.yadav.cs@gmail.com
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Alexandre Bounine <alexandre.bounine@idt.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/rapidio/switches/idtcps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/rapidio/switches/idtcps.c~rapidio-idtcps-constify-rio_device_id drivers/rapidio/switches/idtcps.c
--- a/drivers/rapidio/switches/idtcps.c~rapidio-idtcps-constify-rio_device_id
+++ a/drivers/rapidio/switches/idtcps.c
@@ -168,7 +168,7 @@ static void idtcps_remove(struct rio_dev
spin_unlock(&rdev->rswitch->lock);
}
-static struct rio_device_id idtcps_id_table[] = {
+static const struct rio_device_id idtcps_id_table[] = {
{RIO_DEVICE(RIO_DID_IDTCPS6Q, RIO_VID_IDT)},
{RIO_DEVICE(RIO_DID_IDTCPS8, RIO_VID_IDT)},
{RIO_DEVICE(RIO_DID_IDTCPS10Q, RIO_VID_IDT)},
_
Patches currently in -mm which might be from arvind.yadav.cs@gmail.com are
rapidio-idt_gen2-constify-rio_device_id.patch
rapidio-tsi568-constify-rio_device_id.patch
rapidio-tsi57x-constify-rio_device_id.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-17 22:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-17 22:27 [folded-merged] rapidio-idtcps-constify-rio_device_id.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).