diff options
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/dvb/frontends/dvb_dummy_fe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/dvb_dummy_fe.c b/linux/drivers/media/dvb/frontends/dvb_dummy_fe.c index d37a4e28f..c9160922d 100644 --- a/linux/drivers/media/dvb/frontends/dvb_dummy_fe.c +++ b/linux/drivers/media/dvb/frontends/dvb_dummy_fe.c @@ -179,7 +179,7 @@ static int dvbdummyfe_attach_adapter(struct i2c_adapter *adapter) struct i2c_client *client; int ret; - if ((client = kmalloc(sizeof(struct i2c_client), GFP_KERNEL))) + if ((client = kmalloc(sizeof(struct i2c_client), GFP_KERNEL)) == NULL) return -ENOMEM; memcpy(client, &client_template, sizeof(struct i2c_client)); |