Re: [PATCH 2/2] HID: Remove unnecessary OOM messages

2017-03-01 Thread Joe Perches
On Thu, 2017-03-02 at 07:51 +0100, Michel Hermier wrote: > Le 01/03/2017 à 20:19, Joe Perches a écrit : > > diff --git a/drivers/hid/hid-asus.c b/drivers/hid/hid-asus.c [] > > @@ -224,7 +224,6 @@ static int asus_start_multitouch(struct hid_device > > *hdev) > > > > if (!dmabuf) { > >

Re: [PATCH 2/2] HID: Remove unnecessary OOM messages

2017-03-01 Thread Joe Perches
On Thu, 2017-03-02 at 07:51 +0100, Michel Hermier wrote: > Le 01/03/2017 à 20:19, Joe Perches a écrit : > > diff --git a/drivers/hid/hid-asus.c b/drivers/hid/hid-asus.c [] > > @@ -224,7 +224,6 @@ static int asus_start_multitouch(struct hid_device > > *hdev) > > > > if (!dmabuf) { > >

Re: [PATCH 2/2] HID: Remove unnecessary OOM messages

2017-03-01 Thread Michel Hermier
Le 01/03/2017 à 20:19, Joe Perches a écrit : diff --git a/drivers/hid/hid-asus.c b/drivers/hid/hid-asus.c index 70b12f89a193..1ee6aac855a3 100644 --- a/drivers/hid/hid-asus.c +++ b/drivers/hid/hid-asus.c @@ -224,7 +224,6 @@ static int asus_start_multitouch(struct hid_device *hdev) if

Re: [PATCH 2/2] HID: Remove unnecessary OOM messages

2017-03-01 Thread Michel Hermier
Le 01/03/2017 à 20:19, Joe Perches a écrit : diff --git a/drivers/hid/hid-asus.c b/drivers/hid/hid-asus.c index 70b12f89a193..1ee6aac855a3 100644 --- a/drivers/hid/hid-asus.c +++ b/drivers/hid/hid-asus.c @@ -224,7 +224,6 @@ static int asus_start_multitouch(struct hid_device *hdev) if

[PATCH 2/2] HID: Remove unnecessary OOM messages

2017-03-01 Thread Joe Perches
Allocation failures from k.alloc and dev_k.alloc calls already have a generic stack dump and these additional logging messages just make the code larger and the allocations more likely to fail. Remove them. Signed-off-by: Joe Perches --- drivers/hid/hid-a4tech.c | 4

[PATCH 2/2] HID: Remove unnecessary OOM messages

2017-03-01 Thread Joe Perches
Allocation failures from k.alloc and dev_k.alloc calls already have a generic stack dump and these additional logging messages just make the code larger and the allocations more likely to fail. Remove them. Signed-off-by: Joe Perches --- drivers/hid/hid-a4tech.c | 4 +---