[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e6de4572-5707-75b9-118e-926245120b6e@samsung.com>
Date: Fri, 7 Feb 2020 15:24:25 +0100
From: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
To: Christoph Hellwig <hch@...radead.org>
Cc: Jens Axboe <axboe@...nel.dk>,
Michael Schmitz <schmitzmic@...il.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 15/28] ata: move sata_print_link_status() to
libata-core-sata.c
On 1/29/20 6:30 PM, Christoph Hellwig wrote:
> On Tue, Jan 28, 2020 at 02:33:30PM +0100, Bartlomiej Zolnierkiewicz wrote:
>> * move sata_print_link_status() to libata-core-sata.c
>>
>> * add static inline for CONFIG_SATA_HOST=n case
>
> With the IS_ENABLED() in sata_scr_read the compile should be able to
> just do this by itself - maybe with an inline thrown in for
> sata_print_link_status if the compiler behaves stupidly.
I've reworked the code to use this approach in v2 of the patchset.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Powered by blists - more mailing lists