Skip to content
Snippets Groups Projects
Select Git revision
  • abc91ec761f41290f70e2a4267c063067c36070a
  • master default protected
  • fix_build
  • v1.1.2
  • v1.1.1
  • v1.1
  • v1.0.10
  • v1.0.9
  • v1.0.8
  • v1.0.7-3
  • v1.0.7
  • v1.0.6
  • v1.0.5
  • v1.0.4
  • 1.0d
  • 1.0c
  • 1.0b
  • 1.0
18 results

debug

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Mauro Carvalho Chehab authored
    When compiled on i386, it produces several warnings:
    
    	./arch/x86/include/asm/bitops.h:457:22: warning: asm output is not an lvalue
    	./arch/x86/include/asm/bitops.h:457:22: warning: asm output is not an lvalue
    	./arch/x86/include/asm/bitops.h:457:22: warning: asm output is not an lvalue
    	./arch/x86/include/asm/bitops.h:457:22: warning: asm output is not an lvalue
    	./arch/x86/include/asm/bitops.h:457:22: warning: asm output is not an lvalue
    	./arch/x86/include/asm/bitops.h:457:22: warning: asm output is not an lvalue
    
    I suspect that some gcc optimization could be causing the asm code to be
    incorrectly generated. Splitting it into two macro calls fix the issues
    and gets us rid of 6 smatch warnings, with is a good thing. As it should
    not cause any troubles, as we're basically doing the same thing, let's
    apply such change to vpe.c.
    
    Cc: Benoit Parrot <bparrot@ti.com>
    Cc: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
    af93189d
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.