mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +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,8 +1246,8 @@ class Usb::Root : public Genode::Root_component<Session_component>
|
||||
throw Insufficient_ram_quota();
|
||||
|
||||
if (tx_buf_size > ram_quota - session_size) {
|
||||
error("Insufficient 'ram_quota',got ", ram_quota, " need ",
|
||||
tx_buf_size + session_size);
|
||||
warning("Insufficient RAM quota, got ", ram_quota, " need ",
|
||||
tx_buf_size + session_size);
|
||||
throw Insufficient_ram_quota();
|
||||
}
|
||||
|
||||
|
@ -549,8 +549,8 @@ genode_usb_session * ::Root::_create_session(const char * args,
|
||||
throw Insufficient_ram_quota();
|
||||
|
||||
if (tx_buf_size > ram_quota - session_size) {
|
||||
error("Insufficient 'ram_quota',got ", ram_quota, " need ",
|
||||
tx_buf_size + session_size);
|
||||
warning("Insufficient RAM quota, got ", ram_quota, " need ",
|
||||
tx_buf_size + session_size);
|
||||
throw Insufficient_ram_quota();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user