EDAC, xgene: Fix possible sprintf() overflow issue
EDAC, xgene: Fix possible sprintf() overflow issue

Replace sprintf() with snprintf() to avoid possible string array
overflow.

Signed-off-by: Loc Ho <91d2e73f5194f86f4bd9c3676b147e83b71322eb@apm.com>
Cc: Arnd Bergmann <f2c659f01951776204a6c5b902787d9019fbeebd@arndb.de>
Cc: eb682e570f95b554c8a7dc560ee59b91b930a718@vger.kernel.org
Cc: ea71a0dcef14058f83aacb9a32bd3c02e11f589b@hellion.org.uk
Cc: 352b80a23cd10e6eeb706dfacb6e4021473932fe@redhat.com
Cc: f99ef57ccac738b558d0fc2e44478b3c5def9522@lists.infradead.org
Cc: linux-edac <2f2877799b28945e915fed027ea960f3cffe53dd@vger.kernel.org>
Cc: 1db9dd262beaa64f35756dd39531d9747b7778bb@arm.com
Cc: Mauro Carvalho Chehab <ad86ba2154032c9f55743a190faa2459a9d61d42@osg.samsung.com>
Cc: 12f399525222ddec227760e730f278825e44b22d@apm.com
Cc: 988782c95b9025801edfc9a5b1fd5a8e93699e07@kernel.org
Link: http://lkml.kernel.org/r/1443116287-11752-1-git-send-email-91d2e73f5194f86f4bd9c3676b147e83b71322eb@apm.com
Signed-off-by: Borislav Petkov <0691a664b24b6f15b20cd5aee64b72271db08be1@suse.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs