From patchwork Fri Jun 5 15:09:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 3954 Return-Path: Received: from o1.f.az.sendgrid.net (o1.f.az.sendgrid.net [208.117.55.132]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 28F17603C6 for ; Fri, 5 Jun 2020 17:09:16 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=uajain.com header.i=@uajain.com header.b="WaHj3WzU"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uajain.com; h=from:subject:mime-version:to:cc:content-transfer-encoding: content-type; s=s1; bh=Av1PWnmtZ3wYetXl2mJiptbRm1L1DR0IRSnE4fwK4ZY=; b=WaHj3WzUKqZoxfzPiLAMFYOFH7KJoBHWEr+luGjdlkLmKvaZ2qvTqKMCTa6+MDwpnZG0 pWxeD6ESZW9XO0Scq1wd76V2B+l+rgMMG8bEYw6EIOogSxmRWqq/yv/4YeCBoKapAsQ5XG 5YU4NVhS9CqwC1kZjoJBHk7SveuIPNnpg= Received: by filterdrecv-p3mdw1-6f5df8956d-8rppr with SMTP id filterdrecv-p3mdw1-6f5df8956d-8rppr-20-5EDA601A-73 2020-06-05 15:09:14.563417174 +0000 UTC m=+154526.224577543 Received: from mail.uajain.com (unknown) by ismtpd0001p1hnd1.sendgrid.net (SG) with ESMTP id JwE1rWMFQGCC7FoVKeL7Aw Fri, 05 Jun 2020 15:09:14.246 +0000 (UTC) From: Umang Jain Date: Fri, 05 Jun 2020 15:09:14 +0000 (UTC) Message-Id: <20200605150858.116564-1-email@uajain.com> Mime-Version: 1.0 X-SG-EID: 1Q40EQ7YGir8a9gjSIAdTjhngY657NMk9ckeo4dbHZDiOpywc/L3L9rFqlwE4KPcGsFXrTC3nkaVUz7y/MXE3Y0HWHf8UraJl0J/Odue4ErrBKDfOfJxA9fIpBbSvqROWxdgeG9cxMDZh1NfYC3M8E7LJg7lhqRcIebxaHyXd+zDZXSmzrqkgzhR94Hl90qWKhH/tUQsxEVBMbBX9fPfNa/YzuiAhHkH4Ikxof8PKF3HyCg5QLOp55lSriheDvqLg47AuusN31hkTEp3sUJ7vg== To: laurent.pinchart@ideasonboard.com, libcamera-devel@lists.libcamera.org Subject: [libcamera-devel] [PATCH v2 0/2] Fix implicit sign-extension X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2020 15:09:16 -0000 Changelog: 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(-)