Re: [PATCH v3 6/7] nvme-pci: trigger device coredump on command timeout
From: Akinobu Mita
Date: Mon May 13 2019 - 11:01:38 EST
2019å5æ13æ(æ) 16:41 Minwoo Im <minwoo.im@xxxxxxxxxxx>:
>
> > -static void __maybe_unused nvme_coredump_init(struct nvme_dev *dev);
> > -static void __maybe_unused nvme_coredump_logs(struct nvme_dev *dev);
> > -static void __maybe_unused nvme_coredump_complete(struct nvme_dev
> > *dev);
> > +static void nvme_coredump_init(struct nvme_dev *dev);
> > +static void nvme_coredump_logs(struct nvme_dev *dev);
> > +static void nvme_coredump_complete(struct nvme_dev *dev);
>
> You just have added those three prototypes in previous patch. Did I miss
> something here?
These __maybe_unused are needed only in the patch 5/7.
Because these functions are still unused before applying patch 6/7.