[libcamera-devel,v3,0/2] Fix implicit sign extension
mbox series

Message ID 20200607143012.17752-1-email@uajain.com
Headers show
Series
  • Fix implicit sign extension
Related show

Message

Umang Jain June 7, 2020, 2:30 p.m. UTC
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(-)