lkml.org 
[lkml]   [2019]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] PCI: pci-sysfs.c cleanup
Date
This series is designed to clean up device attributes and permissions in
pci-sysfs.c. Then move the sysfs SR-IOV functions from pci-sysfs.c to
iov.c for better organization. Patches build off of each other.

Patch 1: Define device attributes with DEVICE_ATTR*() instead of __ATTR*().

Patch 2: Change permissions from symbolic to the preferred octal.

Patch 3: Move sysfs SR-IOV functions to iov.c to keep the feature's code
together.

Changes since v1:
Add patch 1 and 2 to fix the way device attributes are defined
and change permissions from symbolic to octal. Patch 3 which moves
sysfs SR-IOV functions to iov.c will then apply cleaner.


Kelsey Skunberg (3):
PCI: sysfs: Define device attributes with DEVICE_ATTR*()
PCI: sysfs: Change permissions from symbolic to octal
PCI/IOV: Move sysfs SR-IOV functions to iov.c

drivers/pci/iov.c | 168 +++++++++++++++++++++++++++++++
drivers/pci/pci-sysfs.c | 217 ++++------------------------------------
drivers/pci/pci.h | 2 +-
3 files changed, 188 insertions(+), 199 deletions(-)

--
2.20.1

\
 
 \ /
  Last update: 2019-08-13 22:59    [W:0.459 / U:0.344 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site