• Vaibhav Gupta's avatar
    driver: zio: Truncation warnings as errors · b9c68c10
    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.
    Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
    b9c68c10
Name
Last commit
Last update
..
buffers Loading commit data...
devices Loading commit data...
triggers Loading commit data...
Kbuild Loading commit data...
Makefile Loading commit data...
bus.c Loading commit data...
chardev.c Loading commit data...
core.c Loading commit data...
dma.c Loading commit data...
helpers.c Loading commit data...
misc.c Loading commit data...
objects.c Loading commit data...
sniff-dev.c Loading commit data...
sysfs.c Loading commit data...
zio-internal.h Loading commit data...