RE: [RFC 3/6] remoteproc: Move fw sanity check to find_rsc_table.

From: Sjur BRENDELAND
Date: Mon Jun 04 2012 - 05:56:58 EST


>> Prepare for pluggable firmware handling by calling firmware
>> sanity check from function find_rsc_table.
>
> Can we keep the present location of rproc_fw_sanity_check(), and later
> just invoke the relevant ops handler instead?

The sanity_check() is working on the ELF structures. And all ELF
processing needs to be moved to a separate file. So if you want
to keep the call to sanity_check() here, I need to make the
sanity_check() function a separate handler. That could make sense,
but will also bloat the struct rproc_fw_ops with one more function
pointer.

Regards,
Sjur
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/