Skip to content

Commit

Permalink
Merge tag 'char-misc-3.16-rc2' of git://git.kernel.org/pub/scm/linux/…
Browse files Browse the repository at this point in the history
…kernel/git/gregkh/char-misc

Pull char / misc driver fixes from Greg KH:
 "Here are 3 patches, one a revert of the UIO patch you objected to in
  3.16-rc1 and that no one wanted to defend, a w1 driver bugfix, and a
  MAINTAINERS update for the vmware balloon driver.

  All of these, except for the MAINTAINERS update which just got added,
  have been in linux-next just fine"

* tag 'char-misc-3.16-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
  MAINTAINERS: add entry for VMware Balloon driver
  w1: mxc_w1: Fix incorrect "presence" status
  Revert "uio: fix vma io range check in mmap"
  • Loading branch information
torvalds committed Jun 21, 2014
2 parents e6934ab + 73b35d0 commit 60761c1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
8 changes: 8 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -9744,6 +9744,14 @@ L: [email protected]
S: Supported
F: arch/x86/kernel/cpu/vmware.c

VMWARE BALLOON DRIVER
M: Xavier Deguillard <[email protected]>
M: Philip Moltmann <[email protected]>
M: "VMware, Inc." <[email protected]>
L: [email protected]
S: Maintained
F: drivers/misc/vmw_balloon.c

VMWARE VMXNET3 ETHERNET DRIVER
M: Shreyas Bhatewara <[email protected]>
M: "VMware, Inc." <[email protected]>
Expand Down
3 changes: 2 additions & 1 deletion drivers/misc/vmw_balloon.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Maintained by: Dmitry Torokhov <[email protected]>
* Maintained by: Xavier Deguillard <[email protected]>
* Philip Moltmann <[email protected]>
*/

/*
Expand Down
2 changes: 1 addition & 1 deletion drivers/uio/uio.c
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ static int uio_mmap_physical(struct vm_area_struct *vma)

if (mem->addr & ~PAGE_MASK)
return -ENODEV;
if (vma->vm_end - vma->vm_start > PAGE_ALIGN(mem->size))
if (vma->vm_end - vma->vm_start > mem->size)
return -EINVAL;

vma->vm_ops = &uio_physical_vm_ops;
Expand Down
2 changes: 1 addition & 1 deletion drivers/w1/masters/mxc_w1.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ static u8 mxc_w1_ds2_reset_bus(void *data)

udelay(100);
}
return !!(reg_val & MXC_W1_CONTROL_PST);
return !(reg_val & MXC_W1_CONTROL_PST);
}

/*
Expand Down

0 comments on commit 60761c1

Please sign in to comment.