target/linux/generic/files/drivers/mtd/nand/mtk_bmt_nmbm.c
static void nlog_table_creation(struct nmbm_instance *ni, bool main_table,
			       uint32_t start_ba, uint32_t end_ba)
{
	if (start_ba == end_ba - 1)
		nlog_info(ni, "%s info table has been written to block %u\n",
			 main_table ? "Main" : "Backup", start_ba);
	else
		nlog_info(ni, "%s info table has been written to block %u-%u\n",
			 main_table ? "Main" : "Backup", start_ba, end_ba - 1);
}
/*
 * nlog_table_creation - Print log of table creation event
 * @ni: NMBM instance structure
 * @main_table: whether the table is main info table
 * @start_ba: start block address of the table
 * @end_ba: block address after the end of the table
 */
Print log of table creation event
@ni: NMBM instance structure
@main_table: whether the table is main info table
@start_ba: start block address of the table
@end_ba: block address after the end of the table
Print log of table creation event @ni : NMBM instance structure @main_table : whether the table is main info table @start_ba : start block address of the table @end_ba : block address after the end of the table
static void nlog_table_creation(struct nmbm_instance *ni, bool main_table,
			       uint32_t start_ba, uint32_t end_ba)
{
	if (start_ba == end_ba - 1)
		nlog_info(ni, "%s info table has been written to block %u\n",
			 main_table ? "Main" : "Backup", start_ba);
	else
		nlog_info(ni, "%s info table has been written to block %u-%u\n",
			 main_table ? "Main" : "Backup", start_ba, end_ba - 1);
}
static void nlog_table_creation ( struct nmbm_instance * ni , bool main_table , uint32_t start_ba , uint32_t end_ba ) { if ( start_ba == end_ba - 1 ) nlog_info ( ni , " \n " , main_table ? " " : " " , start_ba ) ; else nlog_info ( ni , " \n " , main_table ? " " : " " , start_ba , end_ba - 1 ) ; }
nlog_table_creation - Print log of table creation event
 @ni: NMBM instance structure
 @main_table: whether the table is main info table
 @start_ba: start block address of the table
 @end_ba: block address after the end of the table
nlog_table_creation - Print log of table creation event @ni : NMBM instance structure @main_table : whether the table is main info table @start_ba : start block address of the table @end_ba : block address after the end of the table