mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 15:56:41 +00:00
usb_host: change error to warning message
An insufficient session quota as offered by a USB client is not an erroneous situation of the USB driver.
This commit is contained in:
parent
b4aa0a20dd
commit
33c71d1d2c
@ -1246,7 +1246,7 @@ class Usb::Root : public Genode::Root_component<Session_component>
|
|||||||
throw Insufficient_ram_quota();
|
throw Insufficient_ram_quota();
|
||||||
|
|
||||||
if (tx_buf_size > ram_quota - session_size) {
|
if (tx_buf_size > ram_quota - session_size) {
|
||||||
error("Insufficient 'ram_quota',got ", ram_quota, " need ",
|
warning("Insufficient RAM quota, got ", ram_quota, " need ",
|
||||||
tx_buf_size + session_size);
|
tx_buf_size + session_size);
|
||||||
throw Insufficient_ram_quota();
|
throw Insufficient_ram_quota();
|
||||||
}
|
}
|
||||||
|
@ -549,7 +549,7 @@ genode_usb_session * ::Root::_create_session(const char * args,
|
|||||||
throw Insufficient_ram_quota();
|
throw Insufficient_ram_quota();
|
||||||
|
|
||||||
if (tx_buf_size > ram_quota - session_size) {
|
if (tx_buf_size > ram_quota - session_size) {
|
||||||
error("Insufficient 'ram_quota',got ", ram_quota, " need ",
|
warning("Insufficient RAM quota, got ", ram_quota, " need ",
|
||||||
tx_buf_size + session_size);
|
tx_buf_size + session_size);
|
||||||
throw Insufficient_ram_quota();
|
throw Insufficient_ram_quota();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user