* [PATCH] mtd: partitions: fixup some allocate_partition() whitespace
@ 2017-06-22 21:09 Brian Norris
2017-06-22 21:41 ` Rafał Miłecki
0 siblings, 1 reply; 3+ messages in thread
From: Brian Norris @ 2017-06-22 21:09 UTC (permalink / raw)
To: linux-mtd; +Cc: Brian Norris
Some recent patches caused churn around this area, and checkpatch
noticed the existing issues.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
---
drivers/mtd/mtdpart.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c
index 2ad9493703f9..5736b0c90b33 100644
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
@@ -402,7 +402,7 @@ static struct mtd_part *allocate_partition(struct mtd_info *parent,
const struct mtd_partition *part, int partno,
uint64_t cur_offset)
{
- int wr_alignment = (parent->flags & MTD_NO_ERASE) ? parent->writesize:
+ int wr_alignment = (parent->flags & MTD_NO_ERASE) ? parent->writesize :
parent->erasesize;
struct mtd_part *slave;
u32 remainder;
@@ -480,8 +480,8 @@ static struct mtd_part *allocate_partition(struct mtd_info *parent,
slave->mtd._sync = part_sync;
if (!partno && !parent->dev.class && parent->_suspend &&
parent->_resume) {
- slave->mtd._suspend = part_suspend;
- slave->mtd._resume = part_resume;
+ slave->mtd._suspend = part_suspend;
+ slave->mtd._resume = part_resume;
}
if (parent->_writev)
slave->mtd._writev = part_writev;
--
2.13.1.611.g7e3b11ae1-goog
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mtd: partitions: fixup some allocate_partition() whitespace
2017-06-22 21:09 [PATCH] mtd: partitions: fixup some allocate_partition() whitespace Brian Norris
@ 2017-06-22 21:41 ` Rafał Miłecki
2017-06-23 17:52 ` Brian Norris
0 siblings, 1 reply; 3+ messages in thread
From: Rafał Miłecki @ 2017-06-22 21:41 UTC (permalink / raw)
To: Brian Norris; +Cc: linux-mtd
On 22 June 2017 at 23:09, Brian Norris <computersforpeace@gmail.com> wrote:
> Some recent patches caused churn around this area, and checkpatch
> noticed the existing issues.
>
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Looks OK obviously, thanks for taking care of this.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mtd: partitions: fixup some allocate_partition() whitespace
2017-06-22 21:41 ` Rafał Miłecki
@ 2017-06-23 17:52 ` Brian Norris
0 siblings, 0 replies; 3+ messages in thread
From: Brian Norris @ 2017-06-23 17:52 UTC (permalink / raw)
To: Rafał Miłecki; +Cc: linux-mtd
On Thu, Jun 22, 2017 at 11:41:58PM +0200, Rafał Miłecki wrote:
> On 22 June 2017 at 23:09, Brian Norris <computersforpeace@gmail.com> wrote:
> > Some recent patches caused churn around this area, and checkpatch
> > noticed the existing issues.
> >
> > Signed-off-by: Brian Norris <computersforpeace@gmail.com>
>
> Looks OK obviously, thanks for taking care of this.
I'll consider that a "review", as this is so trivial :)
Applied to l2-mtd.git
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-06-23 17:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-22 21:09 [PATCH] mtd: partitions: fixup some allocate_partition() whitespace Brian Norris
2017-06-22 21:41 ` Rafał Miłecki
2017-06-23 17:52 ` Brian Norris
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.