linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] constify ata_port_info
@ 2017-08-24  9:49 Arvind Yadav
  2017-08-24  9:49 ` [PATCH 1/3] ata: ftide010: " Arvind Yadav
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Arvind Yadav @ 2017-08-24  9:49 UTC (permalink / raw)
  To: tj, b.zolnierkie, linus.walleij; +Cc: linux-kernel, linux-ide

ata_port_info are not supposed to change at runtime. All functions
working with ata_port_info provided by <linux/libata.h> work with
const ata_port_info. So mark the non-const structs as const.

Arvind Yadav (3):
  [PATCH 1/3] ata: ftide010: constify ata_port_info
  [PATCH 2/3] ata: pdc2027x: constify ata_port_info
  [PATCH 3/3] ata: constify ata_port_info

 drivers/ata/pata_ftide010.c | 2 +-
 drivers/ata/pata_pdc2027x.c | 2 +-
 drivers/ata/pdc_adma.c      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-08-24 19:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-24  9:49 [PATCH 0/3] constify ata_port_info Arvind Yadav
2017-08-24  9:49 ` [PATCH 1/3] ata: ftide010: " Arvind Yadav
2017-08-24 19:46   ` Linus Walleij
2017-08-24  9:50 ` [PATCH 2/3] ata: pdc2027x: " Arvind Yadav
2017-08-24  9:50 ` [PATCH 3/3] ata: " Arvind Yadav
2017-08-24 14:23 ` [PATCH 0/3] " Tejun Heo
2017-08-24 17:26   ` Tejun Heo

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).