diff options
| author | Mahesh Sivasubramanian <msivasub@codeaurora.org> | 2014-06-10 15:57:29 -0600 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-06-13 13:08:16 -0700 |
| commit | 208add1d9a82b3d66048e1a1e9652fb2fc6ae9dd (patch) | |
| tree | 791ab5116f9c5cb96503c57a6f7e293e4bc7c737 /net/unix/af_unix.c | |
| parent | b5a909ab5669b4838f7b715a8820f34b6fe57536 (diff) | |
msm: pm: Fix errors with gcc 4.9
Switching to gcc 4.9 throws a "iteration 3u undefined behavior" when
variables are updated by function returns and the function in itself
takes the variable as a parameter. Fix issue by using a local variable
to store the intermediate value
Also, fix a issue where the variable counter_name could be indexed
incorrectly by explicitly declaring the size of the variable.
Change-Id: I5e0adfef36b139ee2173a4242193cabd3413911e
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
