Message ID | 20231229153238.153627-2-engr.mkhan1990@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/2] mm/cma: Move opening brace to next line for coding style | expand |
On Fri, Dec 29, 2023 at 03:32:38PM +0000, Malkoot Khan wrote:
> Replace 'unsigned' with 'unsigned int' for the variable cma_area_count.
Please don't run coding style tools over other people's code. Such
changes are generally unwelcome.
Dear Matthew Wilcox, I appreciate your feedback and understand the importance of respecting coding style conventions. I apologize for any inconvenience caused. As a newcomer to the Linux Kernel community, I am eager to contribute and willing to learn from experienced members like yourself. If you could provide some guidance on specific areas or types of code where contributions are needed and welcomed, I would be grateful. I want to ensure that my efforts align with the community's expectations. Thank you for your understanding, and I look forward to your valuable guidance. Best regards, Malkoot Khan On Fri, Dec 29, 2023 at 3:39 PM Matthew Wilcox <willy@infradead.org> wrote: > On Fri, Dec 29, 2023 at 03:32:38PM +0000, Malkoot Khan wrote: > > Replace 'unsigned' with 'unsigned int' for the variable cma_area_count. > > Please don't run coding style tools over other people's code. Such > changes are generally unwelcome. >
diff --git a/mm/cma.c b/mm/cma.c index 01ccd26e8bc2..dd3c39d30ad6 100644 --- a/mm/cma.c +++ b/mm/cma.c @@ -37,7 +37,7 @@ #include "cma.h" struct cma cma_areas[MAX_CMA_AREAS]; -unsigned cma_area_count; +unsigned int cma_area_count; static DEFINE_MUTEX(cma_mutex); phys_addr_t cma_get_base(const struct cma *cma)
Replace 'unsigned' with 'unsigned int' for the variable cma_area_count. Signed-off-by: Malkoot Khan <engr.mkhan1990@gmail.com> --- mm/cma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)