diff for duplicates of <20131014123726.GA17034@mwanda> diff --git a/a/1.txt b/N1/1.txt index 8b6908c..fcf49ac 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -9,7 +9,7 @@ index 0721e72..5af1c3e 100644 +++ b/drivers/net/hamradio/yam.c @@ -975,7 +975,6 @@ static int yam_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) return -EINVAL; /* Cannot change this parameter when up */ - if ((ym = kmalloc(sizeof(struct yamdrv_ioctl_mcs), GFP_KERNEL)) = NULL) + if ((ym = kmalloc(sizeof(struct yamdrv_ioctl_mcs), GFP_KERNEL)) == NULL) return -ENOBUFS; - ym->bitrate = 9600; if (copy_from_user(ym, ifr->ifr_data, sizeof(struct yamdrv_ioctl_mcs))) { diff --git a/a/content_digest b/N1/content_digest index e4f7447..a2428e2 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] yam: remove a no-op in yam_ioctl()\0" - "Date\0Mon, 14 Oct 2013 12:46:15 +0000\0" + "Date\0Mon, 14 Oct 2013 15:46:15 +0300\0" "To\0Jean-Paul Roubelat <jpr@f6fbb.org>\0" "Cc\0linux-hams@vger.kernel.org" netdev@vger.kernel.org @@ -18,11 +18,11 @@ "+++ b/drivers/net/hamradio/yam.c\n" "@@ -975,7 +975,6 @@ static int yam_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)\n" " \t\t\treturn -EINVAL;\t\t/* Cannot change this parameter when up */\n" - " \t\tif ((ym = kmalloc(sizeof(struct yamdrv_ioctl_mcs), GFP_KERNEL)) = NULL)\n" + " \t\tif ((ym = kmalloc(sizeof(struct yamdrv_ioctl_mcs), GFP_KERNEL)) == NULL)\n" " \t\t\treturn -ENOBUFS;\n" "-\t\tym->bitrate = 9600;\n" " \t\tif (copy_from_user(ym, ifr->ifr_data, sizeof(struct yamdrv_ioctl_mcs))) {\n" " \t\t\tkfree(ym);\n" " \t\t\treturn -EFAULT;" -c69491142a526ec5e86eb9bf9535468afef396c5b81240e86678f68a394b3419 +a87cc408d82ff3a9d582712515df6dd875af060ad8877b5aecf7614957b08d7e
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.