projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag '5.15-rc-cifs-part2' of git://git.samba.org/sfrench/cifs-2.6
[linux-2.6-microblaze.git]
/
arch
/
alpha
/
kernel
/
pci-sysfs.c
diff --git
a/arch/alpha/kernel/pci-sysfs.c
b/arch/alpha/kernel/pci-sysfs.c
index
0021580
..
5808a66
100644
(file)
--- a/
arch/alpha/kernel/pci-sysfs.c
+++ b/
arch/alpha/kernel/pci-sysfs.c
@@
-60,6
+60,8
@@
static int __pci_mmap_fits(struct pci_dev *pdev, int num,
* @sparse: address space type
*
* Use the bus mapping routines to map a PCI resource into userspace.
* @sparse: address space type
*
* Use the bus mapping routines to map a PCI resource into userspace.
+ *
+ * Return: %0 on success, negative error code otherwise
*/
static int pci_mmap_resource(struct kobject *kobj,
struct bin_attribute *attr,
*/
static int pci_mmap_resource(struct kobject *kobj,
struct bin_attribute *attr,
@@
-106,7
+108,7
@@
static int pci_mmap_resource_dense(struct file *filp, struct kobject *kobj,
/**
* pci_remove_resource_files - cleanup resource files
/**
* pci_remove_resource_files - cleanup resource files
- * @
dev:
dev to cleanup
+ * @
pdev: pci_
dev to cleanup
*
* If we created resource files for @dev, remove them from sysfs and
* free their resources.
*
* If we created resource files for @dev, remove them from sysfs and
* free their resources.
@@
-221,10
+223,12
@@
static int pci_create_attr(struct pci_dev *pdev, int num)
}
/**
}
/**
- * pci_create_resource_files - create resource files in sysfs for @dev
- * @
dev:
dev in question
+ * pci_create_resource_files - create resource files in sysfs for @
p
dev
+ * @
pdev: pci_
dev in question
*
* Walk the resources in @dev creating files for each resource available.
*
* Walk the resources in @dev creating files for each resource available.
+ *
+ * Return: %0 on success, or negative error code
*/
int pci_create_resource_files(struct pci_dev *pdev)
{
*/
int pci_create_resource_files(struct pci_dev *pdev)
{
@@
-296,7
+300,7
@@
int pci_mmap_legacy_page_range(struct pci_bus *bus, struct vm_area_struct *vma,
/**
* pci_adjust_legacy_attr - adjustment of legacy file attributes
/**
* pci_adjust_legacy_attr - adjustment of legacy file attributes
- * @b: bus to create files under
+ * @b
us
: bus to create files under
* @mmap_type: I/O port or memory
*
* Adjust file name and size for sparse mappings.
* @mmap_type: I/O port or memory
*
* Adjust file name and size for sparse mappings.