powerpc/powernv: Use uint64_t instead of size_t in OPAL APIs
Using size_t in our APIs is asking for trouble, especially when some OPAL calls use size_t pointers. Signed-off-by: Anton Blanchard <anton@samba.org> Reviewed-by: Stewart Smith <stewart@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:

committed by
Benjamin Herrenschmidt

parent
4966bfa1b3
commit
2bad742388
@@ -238,7 +238,7 @@ static struct elog_obj *create_elog_obj(uint64_t id, size_t size, uint64_t type)
|
||||
|
||||
static void elog_work_fn(struct work_struct *work)
|
||||
{
|
||||
size_t elog_size;
|
||||
uint64_t elog_size;
|
||||
uint64_t log_id;
|
||||
uint64_t elog_type;
|
||||
int rc;
|
||||
|
Reference in New Issue
Block a user