[libcamera-devel] [PATCH v3 0/2] Fix implicit sign extension

Umang Jain email at uajain.com
Sun Jun 7 16:30:17 CEST 2020


Changelog:

v2-> v3
  - Adopt to Laurent's suggestion to specify idx arg as ElfW(Half)
    (instead of `unsigned int` in v2) in the refactoring commit 1/2.
    This way it's cleaner and explicitly casting in 2/2 makes our
    bets on the safer side regarding various platform specificity.

v1->v2:
  - Introduce a refactoring commit to share code dealing with same
    computation of finding section header based on Laurent's review.
  - Apply the v1 changes on top of refactored code and update commit
    message.

Umang Jain (2):
  libcamera: ipa_module: Share code to find section header of ELF header
  libcamera: ipa_module: Fix implicit sign-extension in elfSection

 src/libcamera/ipa_module.cpp | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

-- 
2.26.2



More information about the libcamera-devel mailing list