diff for duplicates of <1448369339.2877.30.camel@suse.de> diff --git a/a/1.txt b/N1/1.txt index ffb7465..1684a04 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -21,34 +21,30 @@ On Fri, 2015-11-20 at 17:38 +0100, Arnd Bergmann wrote: > --- a/drivers/scsi/scsi_debug.c > +++ b/drivers/scsi/scsi_debug.c > @@ -678,7 +678,7 @@ static void *fake_store(unsigned long long lba) -> -> static struct sd_dif_tuple *dif_store(sector_t sector) -> { +> ? +> ?static struct sd_dif_tuple *dif_store(sector_t sector) +> ?{ > - sector = do_div(sector, sdebug_store_sectors); > + sector = sector_div(sector, sdebug_store_sectors); -> -> return dif_storep + sector; -> } +> ? +> ? return dif_storep + sector; +> ?} > @@ -2780,7 +2780,7 @@ static unsigned long lba_to_map_index(sector_t > lba) -> lba += scsi_debug_unmap_granularity - -> scsi_debug_unmap_alignment; -> } +> ? lba += scsi_debug_unmap_granularity - +> ? scsi_debug_unmap_alignment; +> ? } > - do_div(lba, scsi_debug_unmap_granularity); > + sector_div(lba, scsi_debug_unmap_granularity); -> -> return lba; -> } +> ? +> ? return lba; +> ?} > > -- > To unsubscribe from this list: send the line "unsubscribe linux-scsi" > in -> the body of a message to majordomo@vger.kernel.org -> More majordomo info at http://vger.kernel.org/majordomo-info.html +> the body of a message to majordomo at vger.kernel.org +> More majordomo info at??http://vger.kernel.org/majordomo-info.html Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> --- -To unsubscribe from this list: send the line "unsubscribe linux-scsi" in -the body of a message to majordomo@vger.kernel.org -More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index 8d2a6ac..655d071 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,14 +1,8 @@ "ref\024882658.08y4bWL6tn@wuerfel\0" - "From\0Johannes Thumshirn <jthumshirn@suse.de>\0" - "Subject\0Re: [PATCH] scsi: use sector_div instead of do_div\0" + "From\0jthumshirn@suse.de (Johannes Thumshirn)\0" + "Subject\0[PATCH] scsi: use sector_div instead of do_div\0" "Date\0Tue, 24 Nov 2015 13:48:59 +0100\0" - "To\0Arnd Bergmann <arnd@arndb.de>" - " linux-scsi@vger.kernel.org\0" - "Cc\0jbottomley@odin.com" - martin.petersen@oracle.com - nico@fluxnic.net - linux-kernel@vger.kernel.org - " linux-arm-kernel@lists.infradead.org\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "On Fri, 2015-11-20 at 17:38 +0100, Arnd Bergmann wrote:\n" @@ -34,36 +28,32 @@ "> --- a/drivers/scsi/scsi_debug.c\n" "> +++ b/drivers/scsi/scsi_debug.c\n" "> @@ -678,7 +678,7 @@ static void *fake_store(unsigned long long lba)\n" - "> \302\240\n" - "> \302\240static struct sd_dif_tuple *dif_store(sector_t sector)\n" - "> \302\240{\n" + "> ?\n" + "> ?static struct sd_dif_tuple *dif_store(sector_t sector)\n" + "> ?{\n" "> -\tsector = do_div(sector, sdebug_store_sectors);\n" "> +\tsector = sector_div(sector, sdebug_store_sectors);\n" - "> \302\240\n" - "> \302\240\treturn dif_storep + sector;\n" - "> \302\240}\n" + "> ?\n" + "> ?\treturn dif_storep + sector;\n" + "> ?}\n" "> @@ -2780,7 +2780,7 @@ static unsigned long lba_to_map_index(sector_t\n" "> lba)\n" - "> \302\240\t\tlba += scsi_debug_unmap_granularity -\n" - "> \302\240\t\t\tscsi_debug_unmap_alignment;\n" - "> \302\240\t}\n" + "> ?\t\tlba += scsi_debug_unmap_granularity -\n" + "> ?\t\t\tscsi_debug_unmap_alignment;\n" + "> ?\t}\n" "> -\tdo_div(lba, scsi_debug_unmap_granularity);\n" "> +\tsector_div(lba, scsi_debug_unmap_granularity);\n" - "> \302\240\n" - "> \302\240\treturn lba;\n" - "> \302\240}\n" + "> ?\n" + "> ?\treturn lba;\n" + "> ?}\n" "> \n" "> --\n" "> To unsubscribe from this list: send the line \"unsubscribe linux-scsi\" \n" "> in\n" - "> the body of a message to majordomo@vger.kernel.org\n" - "> More majordomo info at\302\240\302\240http://vger.kernel.org/majordomo-info.html\n" + "> the body of a message to majordomo at vger.kernel.org\n" + "> More majordomo info at??http://vger.kernel.org/majordomo-info.html\n" "\n" "\n" - "Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>\n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe linux-scsi\" in\n" - "the body of a message to majordomo@vger.kernel.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> -6d26b74d5f4950863557ebc26f6a94fb4a33619ae946bdb86844ef383d36c9d4 +59b10160dd0d1e4318f419ef1f9d56370040ab1ff593360e2a0f941977d24f35
diff --git a/a/1.txt b/N2/1.txt index ffb7465..e8056a8 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -48,7 +48,3 @@ On Fri, 2015-11-20 at 17:38 +0100, Arnd Bergmann wrote: Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> --- -To unsubscribe from this list: send the line "unsubscribe linux-scsi" in -the body of a message to majordomo@vger.kernel.org -More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N2/content_digest index 8d2a6ac..24e6eb6 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -60,10 +60,6 @@ "> More majordomo info at\302\240\302\240http://vger.kernel.org/majordomo-info.html\n" "\n" "\n" - "Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>\n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe linux-scsi\" in\n" - "the body of a message to majordomo@vger.kernel.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> -6d26b74d5f4950863557ebc26f6a94fb4a33619ae946bdb86844ef383d36c9d4 +de9ae8fb230fed26cff003826d0df034f770d4edcd51e636635f7171bfc30ba6
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.