mcctrl: use GFP_ATOMIC in atomic context

This commit is contained in:
Balazs Gerofi
2016-08-14 14:28:21 +09:00
parent 3fa3920bb3
commit fbbaaf5b54
4 changed files with 9 additions and 7 deletions

View File

@ -1888,7 +1888,7 @@ sysfsm_packet_handler(void *os, int msg, int err, long arg1, long arg2)
{
struct sysfs_work *work = NULL;
work = kzalloc(sizeof(*work), GFP_KERNEL);
work = kzalloc(sizeof(*work), GFP_ATOMIC);
if (!work) {
eprintk("mcctrl:sysfsm_packet_handler:kzalloc failed\n");
return;