天嵌 ARM开发社区

 找回密码
 注册
查看: 11773|回复: 2

size of array 'type name' is negative

[复制链接]
embedded.lys 发表于 2012-3-1 22:43:43 | 显示全部楼层 |阅读模式
drivers/scsi/osd/osd_initiator.c:65: error: size of array 'type name' is negative
drivers/scsi/osd/osd_initiator.c:66: error: size of array 'type name' is negative
这个要怎么解决
TQ-lkp 发表于 2012-3-2 09:00:48 | 显示全部楼层
你找到那行把代码贴上来看下嘛,只贴一个错误提示有什么用呢
回复

使用道具 举报

sunhaojie 发表于 2013-11-14 16:02:32 | 显示全部楼层
遇到和楼主一样的问题:
BUILD_BUG_ON(sizeof(struct osdv2_cdb) != OSD_TOTAL_CDB_LEN);
BUILD_BUG_ON(sizeof(struct osdv1_cdb) != OSDv1_TOTAL_CDB_LEN);
根本看不懂是什么问题?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-6-17 11:50 , Processed in 2.035568 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表