From 8511748ba1ab83a7d89d802a50335115358a8cfc Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Wed, 24 Oct 2012 10:12:29 +0300 Subject: [PATCH] ds2782_battery: Fix signedness bug in ds278x_read_reg16() We need to check for negative values before doing the swab16() for the error handling to work. Signed-off-by: Dan Carpenter Signed-off-by: Anton Vorontsov --- Reading git-format-patch failed