[PATCH] lightnvm: remove unused rq parameter of nvme_nvm_rqtocmd() to kill warning

Arnd Bergmann arnd at arndb.de
Mon May 8 00:51:56 PDT 2017


On Mon, May 8, 2017 at 9:25 AM, Geert Uytterhoeven <geert at linux-m68k.org> wrote:
> Hi Jens,
>
> On Mon, May 8, 2017 at 3:53 AM, Jens Axboe <axboe at fb.com> wrote:
>> On 05/07/2017 08:14 AM, Geert Uytterhoeven wrote:
>>> With gcc 4.1.2:
>>
>> Wow, that's ancient.
>
> But it helps to find things like this, and improve the code ;-)

For reference, the warning shows up in gcc-4.2 and 4.3 as well, but
not in gcc-4.4 or
higher unless you disable all optimizations (e.g. gcc-7.1 -O0 warns).

      Arnd



More information about the Linux-nvme mailing list