Messages in this thread | | | From | Miles Chen <> | Subject | RE: [PATCH] pinctrl: fix a discarded-qualifiers build error | Date | Wed, 26 Jan 2022 13:11:55 +0800 |
| |
Hi,
> You should change the type of 'grp' not add a cast. > The compiler can warn about casts removing 'const' as well. > > David
Thanks for the comment, I just found that this issue has been fixed [1]
Miles
[1] https://lore.kernel.org/lkml/DM6PR11MB3660804C821D7CA7329B6CAFC45F9@DM6PR11MB3660.namprd11.prod.outlook.com/
| |