platform_drv: adjust to g++ 8.3.0

Issue #3307
This commit is contained in:
Alexander Boettcher 2019-05-23 13:34:51 +02:00 committed by Christian Helmuth
parent 91146a3a70
commit 68d5293f01
1 changed files with 2 additions and 0 deletions

View File

@ -111,10 +111,12 @@ void Platform::Device_component::config_write(unsigned char address,
case Device_config::PCI_CMD_REG: /* COMMAND register - first byte */
if (size == Access_size::ACCESS_16BIT)
break;
[[fallthrough]];
case Device_config::PCI_CMD_REG + 1: /* COMMAND register - second byte */
case 0xd: /* Latency timer */
if (size == Access_size::ACCESS_8BIT)
break;
[[fallthrough]];
default:
Genode::warning(_device_config, " write access to "
"address=", Genode::Hex(address), " "