Re: [PATCH] x86/APM: drop the duplicate APM_MINOR_DEV macro

From: Randy Dunlap
Date: Thu Jul 27 2023 - 17:21:54 EST


Hi Sohil,

On 7/27/23 13:06, Sohil Mehta wrote:
> s/drop/Drop
>
> On 7/26/2023 4:49 PM, Randy Dunlap wrote:
>> This source file already includes <linux/miscdevice.h>, which contains
>> the same macro. It doesn't need to be defined here again.
>>
>> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
>> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>> Cc: Jiri Kosina <jikos@xxxxxxxxxx>
>> Cc: x86@xxxxxxxxxx
>> ---
>
> I am not sure if a Fixes tag is really needed for a redundant macro
> definition. If at all, shouldn't it be 874bcd00f520c ("apm-emulation:
> move APM_MINOR_DEV to include/linux/miscdevice.h") ?

I don't see any need for this patch to be backported.

Should it be commit 874bcd00f520c? Maybe. That one certainly
missed moving this macro.

> Either way,
> Reviewed-by: Sohil Mehta <sohil.mehta@xxxxxxxxx>

Thanks.

--
~Randy