Skip to content

Commit 8188fc8

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
- Fixup license text for oradax driver, from Rob Gardner. - Release device object with put_device() instead of straight kfree(), from Arvind Yadav. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc: sparc: vio: use put_device() instead of kfree() sparc64: Fix mistake in oradax license text
2 parents 6da6c0d + 00ad691 commit 8188fc8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎arch/sparc/include/uapi/asm/oradax.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
6+
* the Free Software Foundation, either version 2 of the License, or
77
* (at your option) any later version.
88
*
99
* This program is distributed in the hope that it will be useful,

‎arch/sparc/kernel/vio.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ static struct vio_dev *vio_create_one(struct mdesc_handle *hp, u64 mp,
403403
if (err) {
404404
printk(KERN_ERR "VIO: Could not register device %s, err=%d\n",
405405
dev_name(&vdev->dev), err);
406-
kfree(vdev);
406+
put_device(&vdev->dev);
407407
return NULL;
408408
}
409409
if (vdev->dp)

‎drivers/sbus/char/oradax.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
6+
* the Free Software Foundation, either version 2 of the License, or
77
* (at your option) any later version.
88
*
99
* This program is distributed in the hope that it will be useful,

0 commit comments

Comments
 (0)