Check device claim return and initialize data buffer

Reviewed-by: Jonathan Provost <jprovost.sh@gmail.com>