mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
greybus: operation: drop OOM-response FIXME
Drop FIXME about sending responses in OOM situations. If we fail to allocate an operation for an incoming request, we have bigger problems than to worry about sending a response. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
aae5a44ff5
commit
ff65e20ee5
1 changed files with 1 additions and 1 deletions
|
|
@ -828,7 +828,7 @@ static void gb_connection_recv_request(struct gb_connection *connection,
|
|||
type, data, size);
|
||||
if (!operation) {
|
||||
dev_err(&connection->dev, "can't create operation\n");
|
||||
return; /* XXX Respond with pre-allocated ENOMEM */
|
||||
return;
|
||||
}
|
||||
|
||||
ret = gb_operation_get_active(operation);
|
||||
|
|
|
|||
Loading…
Reference in a new issue