Patch "of: fix of_device_get_modalias returned length when truncating buffers" has been added to the 4.9-stable tree