[PATCH] fs: isofs: Fix bug in the way to check if the year is a leap year

2015-01-02 Thread Oscar Forner Martinez
The way to check if the year is a leap year was incomplete. It was checking only if the year can be divided by 4, that is necessary but not a sufficient condition. It has to check as well if the year can not be divided by 100 or if the year can be divided by 400. Signed-off-by: Oscar Forner

[PATCH v2] fs: isofs: Fix bug in the way to check if the year is a leap year

2015-01-04 Thread Oscar Forner Martinez
Changed the whole algorithm for a call to mktime64 that takes care of all that details. Signed-off-by: Oscar Forner Martinez --- fs/isofs/util.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/fs/isofs/util.c b/fs/isofs/util.c index 01e1ee7..a3f953a 100644

[PATCH] Drivers: bcma: Fix three coding style issues, more than 80 characters per line.

2014-12-23 Thread Oscar Forner Martinez
Three lines with more than 80 characters per line have been split in several lines. Signed-off-by: Oscar Forner Martinez --- drivers/bcma/driver_chipcommon.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/bcma/driver_chipcommon.c b/drivers/bcma

[PATCH v2] bcma: Fix three coding style issues, more than 80 characters per line

2014-12-26 Thread Oscar Forner Martinez
Three lines with more than 80 characters per line have been split in several lines. Signed-off-by: Oscar Forner Martinez --- drivers/bcma/driver_chipcommon.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/bcma/driver_chipcommon.c b/drivers/bcma

[PATCH] bcma: fix three coding style issues, more than 80 characters per line

2014-12-27 Thread Oscar Forner Martinez
Three lines with more than 80 characters per line have been split in several lines. Signed-off-by: Oscar Forner Martinez --- drivers/bcma/driver_chipcommon.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/bcma/driver_chipcommon.c b/drivers/bcma

[PATCH v4] bcma: fix two coding style issues, more than 80 characters per line.

2014-12-28 Thread Oscar Forner Martinez
Two lines with more than 80 characters per line have been split in several lines. Signed-off-by: Oscar Forner Martinez --- drivers/bcma/driver_chipcommon.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/bcma/driver_chipcommon.c b/drivers/bcma

[PATCH] ext4: Fixed two coding style errors, spaces required around =

2015-02-04 Thread Oscar Forner Martinez
Two lines with assignation without spaces around the = Signed-off-by: Oscar Forner Martinez --- fs/ext4/ioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index f58a0d1..60fdc44 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c