Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218582
b: refs/heads/master
c: ed77ed6
h: refs/heads/master
v: v3
  • Loading branch information
Vasiliy Kulikov authored and Linus Torvalds committed Oct 28, 2010
1 parent 7a8286c commit fcedcc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b9b1134260e036fb75c468514569864dd6722f3e
refs/heads/master: ed77ed6112f2d4b650f4be7dbaf14e06e1d393a5
3 changes: 3 additions & 0 deletions trunk/drivers/char/synclink_gt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,7 @@ static long get_params32(struct slgt_info *info, struct MGSL_PARAMS32 __user *us
struct MGSL_PARAMS32 tmp_params;

DBGINFO(("%s get_params32\n", info->device_name));
memset(&tmp_params, 0, sizeof(tmp_params));
tmp_params.mode = (compat_ulong_t)info->params.mode;
tmp_params.loopback = info->params.loopback;
tmp_params.flags = info->params.flags;
Expand Down Expand Up @@ -1617,6 +1618,8 @@ static int hdlcdev_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
if (cmd != SIOCWANDEV)
return hdlc_ioctl(dev, ifr, cmd);

memset(&new_line, 0, sizeof(new_line));

switch(ifr->ifr_settings.type) {
case IF_GET_IFACE: /* return current sync_serial_settings */

Expand Down

0 comments on commit fcedcc6

Please sign in to comment.