rtc: xilinx: Fix calibval variable type
This patch fixes the warnings reported by static code analysis. Updated calibval variable type to unsigned type from signed. Signed-off-by: Srinivas Goud <srinivas.goud@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/20765c4c27aa92c75426b82fd2815ebef6471492.1570544738.git.michal.simek@xilinx.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
9aa0d0be38
commit
d53bf24db3
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ struct xlnx_rtc_dev {
|
|||
void __iomem *reg_base;
|
||||
int alarm_irq;
|
||||
int sec_irq;
|
||||
int calibval;
|
||||
unsigned int calibval;
|
||||
};
|
||||
|
||||
static int xlnx_rtc_set_time(struct device *dev, struct rtc_time *tm)
|
||||
|
|
Loading…
Reference in a new issue