• Vaibhav Gupta's avatar
    driver: zio: Kbuild: Don't treat truncation warnings as errors · 83615054
    Vaibhav Gupta authored
    Linux being an object orientd code, reuses the code wherever possible.
    Thus, there are cases where two completely independent and different
    structures might have a member which has same structure template.
    
    For example, in objects.c, in function "__ti_create",
    	- trig->head.name, and
    	- cset->zdev->head.name
    
    are of same type, but belong to different structures. And when the code
    tries to copy/ write one into another, we get truncation warning.
    
    And in this case we cannot even increase the size of only one, because
    both the members are created from same structure.
    
    Thus, one good solution is to not to treat those warnings as errors.
    Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
    83615054
Name
Last commit
Last update
.reuse Loading commit data...
Documentation Loading commit data...
LICENSES Loading commit data...
distribution Loading commit data...
drivers/zio Loading commit data...
include/linux Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
README Loading commit data...
doc Loading commit data...