Skip to contentSkip to conversation

moving from pci to dma

PATCH Superseded Quentin Lambert 2 participants 4 messages Jan 12, 2015

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 moving from pci to dma

This patch replaces the references to the deprecated pci api with the corresponding dma api.

To ensure that it was possible to access the dev field of pci_dev without checking for nullity we looked for similar access in the execution flow.

The most straight forward are "&id->dev" and "pci_get_drvdata(id)" where id is the variable whose type is pci_dev.

We also found "pci_enable_device(id)" to be satisfying since the call accesses other field without checking for nullity.

Quentin Lambert (1):
atm: remove deprecated use of pci api

 drivers/atm/eni.c       | 8 +++++---
 drivers/atm/he.c        | 2 +-
 drivers/atm/lanai.c     | 9 +++++----
 drivers/atm/nicstar.c   | 4 ++--
 drivers/atm/solos-pci.c | 2 +-
 drivers/atm/zatm.c      | 8 +++++---
 6 files changed, 19 insertions(+), 14 deletions(-)
Signature · 1 line
1.9.1
#1 lore raw

There doesn't seem to be a patch for review?

Quoted 2 lines · On Mon, 12 Jan 2015 11:02:39 +0100 Quentin Lambert <[email protected]>…

This patch replaces the references to the deprecated pci api with the corresponding dma api.

...

Quoted 11 lines

Quentin Lambert (1):
atm: remove deprecated use of pci api

 drivers/atm/eni.c       | 8 +++++---
 drivers/atm/he.c        | 2 +-
 drivers/atm/lanai.c     | 9 +++++----
 drivers/atm/nicstar.c   | 4 ++--
 drivers/atm/solos-pci.c | 2 +-
 drivers/atm/zatm.c      | 8 +++++---
 6 files changed, 19 insertions(+), 14 deletions(-)
#2 lore raw
Quoted 2 lines · chas williams - CONTRACTOR

There doesn't seem to be a patch for review?

I made a mistake and forgot to number the mails. I did send them though. Would you like me to send them again, with the proper subject format?

Quentin Lambert

#3 lore raw
Quoted 10 lines · On Mon, 12 Jan 2015 16:32:46 +0100 Quentin Lambert <[email protected]>…
Quoted 2 lines · chas williams - CONTRACTOR

There doesn't seem to be a patch for review?

I made a mistake and forgot to number the mails. I did send them though. Would you like me to send them again, with the proper subject format?

Quentin Lambert

That would be nice. Thanks!