Re: [PATCH v2] mtd: mark devname argument of add_mtd_device as const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/03/2015 11:44 AM, Sascha Hauer wrote:
> On Fri, Jul 03, 2015 at 09:51:47AM +0200, Marc Kleine-Budde wrote:
>> On 07/03/2015 09:49 AM, Marc Kleine-Budde wrote:
>>> This patch fixes the following warning:
>>>
>>> | drivers/mtd/devices/m25p80.c: In function 'm25p_probe':
>>> | drivers/mtd/devices/m25p80.c:271:14: warning: assignment discards 'const' qualifier from pointer target type
>>> |   flash_name = dev->id_entry->name;
>>> |                 ^
>>>
>>> Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
>>
>> This patch applies to master. I can rebase it to -next if needed.
> 
> Not necessary. It's already included as:

Okay. sorry for the noise. :)

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux