[PATCH v2 0/9] staging: kpc2000: another batch of fixes

Jeremy Sowden jeremy at azazel.net
Thu May 16 21:38:05 UTC 2019


These apply on top of the ones I sent earlier this week, which are
currently in the staging-test branch.

There's one white-space patch, a number relating to device attributes
and one that fixes a race affecting the assignment of card numbers.

Jeremy Sowden (9):
  staging: kpc2000: removed trailing white-space.
  staging: kpc2000: add separate show functions for kpc_uio_class device
    attributes and defined them as read-only.
  staging: kpc2000: declare all kpc_uio_class device attributes as
    static.
  staging: kpc2000: removed two kpc_uio_class device attributes.
  staging: kpc2000: use atomic_t to assign card numbers.
  staging: kpc2000: simplified kp2000_device retrieval in device
    attributes call-backs.
  staging: kpc2000: formatting fixes for kp device attributes.
  staging: kpc2000: add separate show functions for readable kp device
    attributes, and defined them as read-only.
  staging: kpc2000: declare all kp device attributes as static.

 drivers/staging/kpc2000/TODO                 |   1 -
 drivers/staging/kpc2000/kpc2000/cell_probe.c | 184 +++++++------
 drivers/staging/kpc2000/kpc2000/core.c       | 255 +++++++++++--------
 drivers/staging/kpc2000/kpc2000/fileops.c    |   2 +-
 drivers/staging/kpc2000/kpc2000/pcie.h       |  10 +-
 5 files changed, 254 insertions(+), 198 deletions(-)

Since v1:

  * merged the DEVICE_ATTR_RO patches with the ones that split up the
    show call-backs;
  * converted the show call-backs to use sprintf, instead of scnprintf.

-- 
2.20.1



More information about the devel mailing list