Linux ATA/IDE development
 help / color / mirror / Atom feed
* [PATCH v5 0/2] Use *switch*es instead of *if*s in the Artop PATA driver
@ 2022-02-09 20:25 Sergey Shtylyov
  2022-02-09 20:25 ` [PATCH v5 1/2] ata: pata_artop: use *switch* in artop_init_one() Sergey Shtylyov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sergey Shtylyov @ 2022-02-09 20:25 UTC (permalink / raw)
  To: Damien Le Moal, linux-ide

Here are 3 patches against the 'for-next' branch of Damien Le Moal's
'libata.git' repo. The driver abuses the strings of the *if* statements
where a *switch* statements would fit better...


Sergey Shtylyov (2):
  ata: pata_artop: use *switch* in artop_init_one()
  ata: pata_artop: use *switch* in atp8xx_fixup()

 drivers/ata/pata_artop.c | 31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)

-- 
2.26.3


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

end of thread, other threads:[~2022-02-10  3:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-09 20:25 [PATCH v5 0/2] Use *switch*es instead of *if*s in the Artop PATA driver Sergey Shtylyov
2022-02-09 20:25 ` [PATCH v5 1/2] ata: pata_artop: use *switch* in artop_init_one() Sergey Shtylyov
2022-02-09 20:25 ` [PATCH v5 2/2] ata: pata_artop: use *switch* in atp8xx_fixup() Sergey Shtylyov
2022-02-09 23:29   ` Damien Le Moal
2022-02-09 23:34     ` Sergey Shtylyov
2022-02-10  3:07 ` [PATCH v5 0/2] Use *switch*es instead of *if*s in the Artop PATA driver Damien Le Moal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox