Vedashree Vidwans
d5a573db9a
gpu: nvgpu: fix misra errors nvgpu.common.clk_arb
...
- Rule 5.7 doesn't allow an identifier to be reused. This patch renames
identifier 'notification' to resolve this violation.
- Rule 8.3 requires all functions and prototypes to have same parameter
names and type qualifier.
- Rule 10.x necessitates operands to have essential type, and left and
right operands should be of same width.
- Rule 11.9 requires pointers to be compared with 'NULL' instead of '0'.
- Rule 14.4 requires if statement condition to be Boolean type.
- Rule 15.7 needs if-elseif constructs to be terminated with else
statement.
- Rule 16.x requires all switch statements to be well-formed with
unconditional break statement terminate every switch-clause.
- Rule 20.7 requires macro parameters to be enclosed in parentheses.
- Rule 21.x doesn't allow reserved identifier or macro names to be
reused or defined.
This patch fixes above listed violations in common/clk_arb/clk_arb.c.
Jira NVGPU-3740
Change-Id: I871ce240ca7fb0372240a8886a53c8d4c460acea
Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/2147640
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
2019-07-09 16:05:11 -07:00
..
2019-07-05 08:09:12 -07:00
2019-06-11 09:46:24 -07:00
2019-01-29 21:55:37 -08:00
2018-09-25 13:10:19 -07:00
2018-08-29 20:34:34 -07:00
2018-09-25 13:10:19 -07:00
2018-08-29 20:34:34 -07:00
2019-06-24 17:36:29 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2019-07-01 07:05:18 -07:00
2018-06-15 17:47:31 -07:00
2019-03-18 20:19:10 -07:00
2019-01-31 12:04:10 -08:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2019-05-28 02:05:43 -07:00
2018-06-27 07:30:06 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2019-04-19 13:55:11 -07:00
2019-04-19 13:55:11 -07:00
2019-04-22 14:15:22 -07:00
2018-09-05 04:51:40 -07:00
2019-05-23 00:56:55 -07:00
2018-10-19 08:39:43 -07:00
2019-03-16 05:05:41 -07:00
2019-06-11 09:46:24 -07:00
2019-05-17 01:49:27 -07:00
2018-06-15 17:47:31 -07:00
2019-04-22 03:15:09 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2019-03-27 10:26:02 -07:00
2018-07-24 16:10:58 -07:00
2019-01-10 20:09:38 -08:00
2018-09-05 04:51:50 -07:00
2019-06-04 14:15:08 -07:00
2018-06-15 17:47:31 -07:00
2019-02-11 20:55:07 -08:00
2019-02-11 20:55:07 -08:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2019-06-13 23:05:43 -07:00
2019-06-13 23:05:43 -07:00
2019-06-04 01:15:55 -07:00
2019-02-01 09:45:57 -08:00
2018-10-31 15:25:23 -07:00
2018-06-15 17:47:31 -07:00
2019-05-16 11:57:32 -07:00
2019-05-01 15:06:57 -07:00
2019-06-25 04:37:08 -07:00
2019-06-25 04:37:08 -07:00
2019-05-01 15:06:57 -07:00
2019-06-11 09:46:24 -07:00
2018-06-15 17:47:31 -07:00
2018-06-15 17:47:31 -07:00
2018-09-25 13:10:19 -07:00
2019-06-21 04:35:25 -07:00
2019-05-06 02:56:53 -07:00
2019-02-20 23:05:04 -08:00
2018-06-15 17:47:31 -07:00
2019-06-21 04:35:25 -07:00
2018-06-15 17:47:31 -07:00
2019-04-16 13:04:27 -07:00
2019-06-21 04:35:25 -07:00
2018-06-15 17:47:31 -07:00
2019-06-21 04:35:25 -07:00
2019-05-06 02:56:53 -07:00
2019-07-09 16:05:11 -07:00
2019-06-13 07:39:59 -07:00
2018-10-29 08:04:25 -07:00
2019-06-18 01:39:20 -07:00
2018-07-05 21:48:44 -07:00
2019-06-05 10:25:52 -07:00
2018-06-15 17:47:31 -07:00
2019-06-11 09:46:24 -07:00
2018-06-15 17:47:31 -07:00
2018-11-07 10:35:13 -08:00
2019-05-03 13:08:00 -07:00
2019-06-21 04:35:25 -07:00
2019-06-25 04:37:08 -07:00
2019-05-15 22:29:21 -07:00
2019-06-06 16:27:23 -07:00
2019-04-16 13:04:27 -07:00
2018-06-15 17:47:31 -07:00
2019-06-21 04:35:25 -07:00
2019-04-11 22:24:46 -07:00
2019-06-25 04:37:08 -07:00
2018-06-15 17:47:31 -07:00
2019-01-15 12:54:19 -08:00
2019-03-07 11:45:07 -08:00
2019-06-11 09:46:24 -07:00
2019-06-11 09:46:24 -07:00
2018-07-26 00:06:07 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2019-05-28 03:15:22 -07:00
2019-04-22 05:25:48 -07:00
2018-08-29 20:34:34 -07:00
2018-09-09 17:22:24 -07:00
2018-08-29 20:34:34 -07:00
2018-09-09 17:22:24 -07:00
2018-09-09 17:22:24 -07:00
2019-06-13 23:05:43 -07:00
2018-09-05 04:51:36 -07:00
2019-06-13 23:05:43 -07:00
2018-11-08 19:35:09 -08:00
2018-12-13 04:56:14 -08:00
2018-08-29 20:34:34 -07:00
2019-05-15 22:29:40 -07:00
2018-12-30 23:36:00 -08:00
2018-10-12 17:35:10 +05:30
2019-05-28 03:15:22 -07:00
2018-06-15 17:47:31 -07:00
2019-05-23 00:56:55 -07:00
2018-06-15 17:47:31 -07:00
2019-05-20 11:07:04 -07:00
2019-05-06 16:46:00 -07:00
2018-06-15 17:47:31 -07:00
2019-05-20 11:07:04 -07:00
2018-06-15 17:47:31 -07:00
2019-04-10 06:03:59 -07:00
2018-06-15 17:47:31 -07:00
2019-06-05 10:25:52 -07:00
2019-05-06 02:56:53 -07:00
2019-01-15 12:54:19 -08:00
2018-09-25 13:10:19 -07:00
2019-07-04 03:48:27 -07:00
2019-05-06 02:56:53 -07:00
2019-05-06 02:56:53 -07:00
2019-05-23 00:56:55 -07:00
2018-06-15 17:47:31 -07:00
2019-01-25 01:35:29 -08:00
2019-07-04 03:48:27 -07:00
2019-05-15 09:56:08 -07:00