On Sun, Feb 23, 2020 at 8:58 AM Matteo Croce wrote:
>
> The macros PAGE_SECTORS, PAGE_SECTORS_SHIFT and SECTOR_MASK are defined
> several times in different flavours across the whole tree.
> Define them just once in a common header.
>
> Signed-off-by: Matteo Croce
> ---
> block/blk-lib.c
On Wed, Mar 4, 2020 at 9:57 PM Dan Williams wrote:
>
> On Sun, Feb 23, 2020 at 9:04 AM Matteo Croce wrote:
> >
> > The macros PAGE_SECTORS, PAGE_SECTORS_SHIFT and SECTOR_MASK are defined
> > several times in different flavours across the whole tree.
> > Define them just once in a common header.
>
On Sun, Feb 23, 2020 at 9:04 AM Matteo Croce wrote:
>
> The macros PAGE_SECTORS, PAGE_SECTORS_SHIFT and SECTOR_MASK are defined
> several times in different flavours across the whole tree.
> Define them just once in a common header.
>
> Signed-off-by: Matteo Croce
> ---
> block/blk-lib.c
On Sun, 23 Feb 2020 at 17:57, Matteo Croce wrote:
>
> The macros PAGE_SECTORS, PAGE_SECTORS_SHIFT and SECTOR_MASK are defined
> several times in different flavours across the whole tree.
> Define them just once in a common header.
>
> Signed-off-by: Matteo Croce
For mmc:
Acked-by: Ulf Hansson
The macros PAGE_SECTORS, PAGE_SECTORS_SHIFT and SECTOR_MASK are defined
several times in different flavours across the whole tree.
Define them just once in a common header.
Signed-off-by: Matteo Croce
---
block/blk-lib.c | 2 +-
drivers/block/brd.c | 3 ---
driver