aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt3sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorMichal Marek <[email protected]>2013-04-10 16:45:21 +0200
committerGeert Uytterhoeven <[email protected]>2013-04-16 21:35:43 +0200
commite00c73ee05dc38ecaccced55d4f5fc58b0b769f7 (patch)
tree484ae1dfa6e4d7c57bfdd17106bab1a1639f66c5 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h
parent01a18d168776f27309e49c983415de9851d6cb57 (diff)
m68k: Remove inline strlen() implementation
GCC can replace a strncat() call with constant second argument into a strlen + store, which results in a link error: ERROR: "strlen" [net/ipv4/ip_tunnel.ko] undefined! The inline function is a simple for loop in C. Other architectures either use an asm optimized variant, or use the generic function from lib/string.c. Reported-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Michal Marek <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions