Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Conflicts: drivers/net/wireless/wl12xx/wl1271.h drivers/net/wireless/wl12xx/wl1271_cmd.h
This commit is contained in:
@@ -68,7 +68,7 @@ struct dblock {
|
||||
} __packed;
|
||||
|
||||
/*
|
||||
* Plug Data References are located in in the image after the last data
|
||||
* Plug Data References are located in the image after the last data
|
||||
* block. They refer to areas in the adapter memory where the plug data
|
||||
* items with matching ID should be written.
|
||||
*/
|
||||
|
@@ -356,12 +356,10 @@ static struct request_context *ezusb_alloc_ctx(struct ezusb_priv *upriv,
|
||||
{
|
||||
struct request_context *ctx;
|
||||
|
||||
ctx = kmalloc(sizeof(*ctx), GFP_ATOMIC);
|
||||
ctx = kzalloc(sizeof(*ctx), GFP_ATOMIC);
|
||||
if (!ctx)
|
||||
return NULL;
|
||||
|
||||
memset(ctx, 0, sizeof(*ctx));
|
||||
|
||||
ctx->buf = kmalloc(BULK_BUF_SIZE, GFP_ATOMIC);
|
||||
if (!ctx->buf) {
|
||||
kfree(ctx);
|
||||
|
@@ -993,11 +993,9 @@ static int orinoco_ioctl_set_genie(struct net_device *dev,
|
||||
return -EINVAL;
|
||||
|
||||
if (wrqu->data.length) {
|
||||
buf = kmalloc(wrqu->data.length, GFP_KERNEL);
|
||||
buf = kmemdup(extra, wrqu->data.length, GFP_KERNEL);
|
||||
if (buf == NULL)
|
||||
return -ENOMEM;
|
||||
|
||||
memcpy(buf, extra, wrqu->data.length);
|
||||
} else
|
||||
buf = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user