Skip to content
Permalink
Browse files

GCC 4.9.1: fix compile warnings

Signed-off-by: LaboDJ <jacopolabardi@gmail.com>
  • Loading branch information
labodj authored and StefanescuCristian committed Jun 4, 2014
1 parent 3dfe075 commit 589c356a73942b6301e1de2a44b80742de43b47b
@@ -873,9 +873,9 @@ static int qcedev_sha_update(struct qcedev_async_req *qcedev_areq,
struct scatterlist *sg_src)
{
int err = 0;
int i = 0;
int j = 0;
int k = 0;
unsigned int i = 0;
unsigned int j = 0;
unsigned int k = 0;
int num_entries = 0;
uint32_t total = 0;

@@ -1408,9 +1408,9 @@ static int qcedev_vbuf_ablk_cipher(struct qcedev_async_req *areq,
{
int err = 0;
int di = 0;
int i = 0;
int j = 0;
int k = 0;
unsigned int i = 0;
unsigned int j = 0;
unsigned int k = 0;
uint32_t byteoffset = 0;
int num_entries = 0;
uint32_t total = 0;
@@ -1,3 +1,4 @@
ccflags-y := -Wno-maybe-uninitialized
ccflags-y += -Idrivers/media/platform/msm/camera_v2
ccflags-y += -Idrivers/media/platform/msm/camera_v2/sensor/io
obj-$(CONFIG_MSM_CSID) += msm_ispif.o
@@ -1046,7 +1046,7 @@ int slim_xfer_msg(struct slim_controller *ctrl, struct slim_device *sbdev,
int ret;
u16 sl, cur;
u16 ec;
u8 tid, mlen = 6;
u8 tid = 0, mlen = 6;

ret = slim_ele_access_sanity(msg, mc, rbuf, wbuf, len);
if (ret)
@@ -887,7 +887,7 @@ EXPORT_SYMBOL_GPL(fat_get_dotdot_entry);
int fat_dir_empty(struct inode *dir)
{
struct buffer_head *bh;
struct msdos_dir_entry *de;
struct msdos_dir_entry *de = NULL;
loff_t cpos;
int result = 0;

@@ -913,7 +913,7 @@ EXPORT_SYMBOL_GPL(fat_dir_empty);
int fat_subdirs(struct inode *dir)
{
struct buffer_head *bh;
struct msdos_dir_entry *de;
struct msdos_dir_entry *de = NULL;
loff_t cpos;
int count = 0;

@@ -852,7 +852,7 @@ static int audit_filter_rules(struct task_struct *tsk,
static enum audit_state audit_filter_task(struct task_struct *tsk, char **key)
{
struct audit_entry *e;
enum audit_state state;
enum audit_state state = 0;

rcu_read_lock();
list_for_each_entry_rcu(e, &audit_filter_list[AUDIT_FILTER_TASK], list) {
@@ -1137,9 +1137,9 @@ static int msm_routing_set_srs_trumedia_control_(struct snd_kcontrol *kcontrol,
__func__, i, i>>1);
break;
}
pr_debug("SRS %s: param_index %d index %d val %d",
__func__, index, i,
msm_srs_trumedia_params[index].raw_params[i]);
//pr_debug("SRS %s: param_index %d index %d val %d",
// __func__, index, i,
// msm_srs_trumedia_params[index].raw_params[i]);
}
}
return 0;

0 comments on commit 589c356

Please sign in to comment.
You can’t perform that action at this time.